Data clean on a numeric value in the text field

Hello team,

There is a field called 'turnover' in our Eloqua instance. It is a text field, but contains mostly numeric values synchronized in the same field of SFDC. The SFDC field is numeric.

I am trying to write a program of standardization of data that uses the "Annual sales" value to update another field, "standardized annual income", with the value appropriate for example Strip $0 to $5 M, $5 - $10 M, $10 / $20 M...

I created a rule to update that search values:

  • between 1 and 5000000 "turnover" and updates the "standardized annual income" field of $0 à $5 M
  • between 5000001 and 100000 in the "Annual income" and updates the "standardized annual income" field $5-$10 M
  • and so on...

However when I test it I get the correct value in 'annual standardized income. " I also tried using filters to make contacts with the "annual income" values between 0 and 5000000 but I get all kinds of values outside this range.

Can someone tell me where I'm wrong? Is it because the data type of the field 'Turnover' is the text rather than digital? I guess I could create a new numeric field for "Annual income", write values existing in this area and change the SFDC integration but I would avoid it if possible. If anyone has any bright ideas, I'd love to hear them.

Thank you

James

For anyone interested, I got the answer from the Support. As it is established as a text field that eloqua is trying to make an alphabetical "between" rather than a digital "between". As it is not possible to change the data type of a field, I need to create a new digital field, export the data to the existing field (as well as email address) and upload again to the new field.

Tags: Marketers

Similar Questions

  • Web page open based on the value of the text field

    I want to open a web page that is based on the value of a text field.  How to bind the value of a text field to a command which will open the web page?

    For example, the value of the text field is: 8 t - EXT

    and the web page I want to open when you press a button is: http://hqms/doc.asp?dn=8T-EXT

    As you can see that the 8 t - EXT is something that a person enters the form and is what is needed to open the web page.  The other text in the link of the webpage is always the same.

    Thank you

    Hello

    In the click event of the button, place the following JavaScript code:

    if (TextField1.rawValue !== null) {
         var vURL = "http://hqms/doc.asp?dn=" + TextField1.rawValue;
         app.launchURL(vURL, true);
    }
    else {
         app.alert("Dear user, please put a code in the text field. Thank you!");
    }
    

    You need to change the object references based on your shape.

    Niall

  • How to assign the value to the text field dynamically

    Hello

    I created a form that accepts input from the front desk.  As soon as I select ACCOUNT_CODE using LOV, I would like to define a DISPLAY only field INSTALMENT_AMOUNT with values that is available in another table based on the value of the ACCOUNT_CODE field.

    I already have the query to retrieve the details.  However, I wanted to know how to proceed.

    I created 'point page' INSTALMENT_AMOUNT in the form.  On this point in relation to a created "computation".  But the value is been showed that when I open an existing record for editing.  Not during new save when I try to create.  I would like to fill the value, when I create a new record and after selection of the ACCOUNT_CODE value.

    Receipt.png

    Thank you

    -Anand

    anand_gp wrote:

    I created a form that accepts input from the front desk.  As soon as I select the ACCOUNT_CODE using LOV, I would like to define a DISPLAY only field INSTALMENT_AMOUNT with values that is available in another table based on the value of the ACCOUNT_CODE field.

    I already have the query to retrieve the details.  However, I wanted to know how to proceed.

    I created 'point page' INSTALMENT_AMOUNT in the form.  On this point in relation to a created "computation".  But the value is been showed that when I open an existing record for editing.  Not during new save when I try to create.  I would like to fill the value, when I create a new record and after selection of the ACCOUNT_CODE value.

    Events in response to actions of the user in the browser at run time are implemented using dynamic measurements.

    In this case, use a dynamic action change in the P270_ACCOUNT_CODE article, with action set the value by specifying P270_ACCOUNT_CODE in the elements of the Page to send and your source of SQL as the SQL statement.

  • Value of the text field delete after click

    There is a text field with the value "type your name". When click in the text field, the value will be automatically deleted. We type "Adobe", then click on outside. If you still want to type 'cycle' after 'Adobe' (no delete Adobe or retype "adobe")

    Is this possible? How can I get?

    Hello

    The other way to do this is to go to object > palette on the ground and set a display model of the null state.

    See page 2 of the form example here: http://assure.ly/ewrLMo.

    At its most simple requires no script:

    In our example we have script in events enter and exit to change the police, but this step is entirely optional.

    Hope that helps,

    Niall

  • How can I validate numeric values in a text field?

    Hello

    Once more, I have a problem.

    I have a field in which the user must enter 10 digits in the model 999999-9999. The field should contain only numbers and must be exactly 10 characters. I have a validation script on the button "print", which prevent printing if required fields are empty or not properly filled out.

    I tried two ways of working this point, and I'm not satisfied with any of them, I can always print despite warning messages and validation scripts.

    1.

    I put the type numeric field, limited to 11 characters.

    Display model num {999999-9999}, change the model num {999999-9999} and validation model num {999999-9999}

    Problems using this solution: when I type 11 digits in the field (ex.12345612345) I get a warning message and 12.345.612

    But when I type 9 digts (e.g. 123456-123 or 123456123) I get no message warning and 000000-0000 or 012345-6123

    If I type alphabetic characters (e.g. 123456 abcd) I get no warning message and 000000-0000.

    2.

    I put the field in the text field, limited to 11 characters.

    The model text {999999-9999}, edit text model {999999-9999} and {999999-9999} model validation

    Now, when I type 11 digits in the field (ex.12345612345) I don't get any warning messages and 12345612345

    When I type 9 digts (e.g. 123456-123) I get no warning message and 123456-123

    When I type 9 digts (e.g. 123456123) I get a warning message and 123456123

    If I type alphabetic characters (e.g. 123456 abcd) I get a warning message and 123456 abcd.

    It works a little better as a text field, but I'm not satisfied at all.

    Someone at - there a solution to this?

    Additional I also want the hyphen to emerge automatically when you type.

    K

    Regular expressions are useful for this type of validation. The code below tf1 is a text field with a maximum length of 12.

    Form1.Page1.TF1::exit - (JavaScript, client)

    If (!) ((this.isNull))) {}

    var FO = this.rawValue;

    \d to match any character in the range 0-9

    regExp var = \d{6}\-\d{5}/;

    If (!) () {regExp.test (tf)))}

    xfa.host.messageBox ("the field must be in the format of 123456-12345.", "Validation", 1);

    }

    }

    {The \d{6}\-\d{5}/ expression tests 6 digits \d{6}, a dash-- and 5-digit \d{5}.

    Steve

  • Getting the value of the text field element

    I was wondering if it was possible-

    I have a text field and a "submit" button. In the button submit, I said it to go to a link (i.e. http://www.oracle.com/). I want to take the information that is in the text field and with the URL concatinate (IE if the APEX was in the text field, I want the button submit to take me to http://www.oracle.com/APEX).

    Is this possible?
    If so, how?

    Thank you
    Tom

    Tom:

    Set the URL in the definition of button as

    javascript:redirect('http://www.yahoo.com/' + $v('TEXT_FIELD_NAME') );
    

    CITY

  • How to allow the user to enter only alpha numeric characters in the text field?

    Hello

    Is it possible to restrict the user to enter only alpha numeric characters in the textfiled?

    Thank you

    Starting from the version 4.7, I don't see any how useful filter adapted to your needs.  Then why don't you override keyChar() like this:

    EditField eField = new EditField("Enter letters and digits only: ", "") {
        protected boolean keyChar(char ch, int status, int time) {
            if (CharacterUtilities.isLetter(ch) || CharacterUtilities.isDigit(ch) || (ch == Characters.BACKSPACE)) {
                return super.keyChar(ch, status, time);
            }
            return true;
        }
    };
    

    I have not tested this code, but you can give it a shot...

    You can add a manipulation (or super.keyChar...) for Characters.ENTER and Characters.ESCAPE, as well as anything else you be useful, such as the comma and the period.

    Hope this helps,

    Arkady.

    Edit: added Characters.BACKSPACE - you want to change, not you?

  • Value of the text field on a form disappers when clicking on an intem line in one grid other than line 1.

    Essentially we are dumping a log in a grid file 'go block '.  As part of the form, we'll add two variables (in the same datablock) like other variables of the grid.  These descriptive variables are order and the line number and are located above the grid.  When the user clicks on any other topic but line 1 these values are empty.  If they click line 2 they are virgins but if they click back online a those values reappear.

    Somehow, they relate to thoughts of one line - all about what I'm doing wrong.

    Thanks in advance.


    Dear Sir

    The value that you assign is the first record only. This is why his watch when're it in the first record. How you assign values to the block (grid) of detail? If you use to insert lines, then you must write the code to assign values to these fields inside the loop.

    Manu.

  • Validate the value of the text field

    Hello.

    I found this code:

    the value of power reactive

    var a = this.getField ("Name1");

    var two = this.getField ("Name2");

    var 3 = this.getField ("Name3");

    This feature assembles two field values into one with "and" as a separator.

    function concatFields (field1, field2, fieldDest) {}

    make sure that all variables are present

    If (Field1 & & Field2 & & fieldDest) {}

    var fieldVals = new Array();

    If (field1.value! = "& & field1.value! = null) {}

    fieldVals.push (field1.value);

    }

    If (field2.value! = "& & field2.value! = null) {}

    fieldVals.push (field2.value);

    }

    fieldDestResult = fieldVals.join ('and');

    fill the fieldDest only if it is empty

    if(fieldDestResult.value!=''|| fieldDestResult.value!=null) {}

    fieldDest.value = fieldDestResult;

    //}

    }

    }

    concatFields (one, two, three);

    These values to combine text two fields into one (text field nr.3) and put 'and' between the values. It works OK. But what happens if the two values are equal? Then, I need that one value is fill in field Nr. 3. Then. If the field 'Name1' and 'Name2' values are different, the two are combined in "Name3",... If the values are equal, the only one of them will be send to "Name3" on the ground.

    How can I do?

    Thanks for the reply.

    There is no coma have been a period should be. Be the soul of the last four lines:

    var Text1 = this.getField("Name1").valueAsString;

    var Text2 = this.getField("Name2").valueAsString;

    if(Text1 == text2) Text2 = "";

    Fill-in = Event.Value (Text1, Text2, "", "and");

    Additional code can be added to remove the distinction uppercase / lowercase and trim leading or white end space.

  • How to automatically remove the "Default Value" of the text field text.

    Y at - it a java script, or something that I can apply to a text field that would automatically "By default" disappear when the person clicks on this area?  Instead of the need to highlight the text before you start typing...

    Screen Shot 2012-10-02 at 4.05.07 PM.png

    It is dangerous because it clears the field of the value entered by the user. In addition, event.value does not work in this context. You must use event.target.value.

    You use it for the event on Focus:

    If (event.target.value == event.target.defaultValue) event.target.value = "";

    And for the event on the blur:

    If (event.target.value == "'") event.target.value = event.target.defaultValue;

  • Search and replace values in the text field before the values are stored in DB

    Hello
    There is a question - answer and text box text field - in my application. Problem is, some of the answers are stored with the apostrophes to the DB and I have a problem while recovering in the DB. I need to replace the single quotes 1 with 2 apostrophes. The values are stored in the DB when you click on the submit button.

    So, I'm using the following javascript code:
    italics
    < script type = "text/javascript" >
    function test().
    {
    var str = "& P2_S1.";
    document. Write (Escape (STR));
    }
    < /script >
    italics
    I need to call this javascript function, when the user clicks on the button submit, but BEFORE the values are stored in the DB. How can I get this done?

    Please let me know.

    Hi Suzi,

    Just use

    begin
    update test set S1=replace(:P2_S1, '''', '''''') where name=:APP_USER;
    end;
    

    as you did in your SELECT statement.

    But I shake also why you want to do? Where do you have problems with the apostrophe?

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • cannot retrieve the value of the text field

    Hi all

    I use the pl/sql code following in the process that triggers after clicking on the button Delete

    DECLARE
    BEGIN
    REMOVE FROM THE ABC, WHERE = NONE: P4_NO;
    END;

    Here: P4_NO is a text field.

    The record is not removed from the table. Can someone help me with this please?

    Edited by: user8966924 may 3, 2011 11:22

    Hello

    You can recreate your problem in apex.oracle.com?

    In the meantime, try this:

    (1) create before that process the header
    2)

    begin
    delete from abc where no = :P4_NO
    end;
    

    condition:
    what application in expression 1

    DELETE
    

    (3) name of the button: DELETE

    Kind regards
    -Spengler

  • Initial value of the checkbox field is not affected.

    Hello

    I have a custom form with 2 fields, which is a check box which is below the values
    Value when checked: 1
    Value when disabled: 0
    Mapping of other values box: checked

    and the other is a text field. Please insert text fields field data into the table db that are checked.

    Iof displayed the Web file number is 10.


    I use the code in the trigger of the COMMIT BUTTON to save data in the table below. that is, I'm insertion of the value of the text field in table for the check box that is checked

    GO_BLOCK ("CHANNELS");
    premier_enregistrement;
    LOOP
    IF: CHANNELS. CHECK = 1 THEN
    INSERT into...
    WHEN THE OUTPUT: SYSTEM. LAST_RECORD = "TRUE";
    NEXT_RECORD;
    END LOOP;
    COMMIT;
    END;


    The problem is the value of the checkbox is always null and records are not get inserted into the table. Y at - it elsewhere, that we have to specify the initial value of the box. Not sure why the value of the checkbox becomes void even if the ix checked checkbox.

    Thank you
    Didi.

    What you have listed for the property of the initial value of your box?

    Craig...

  • Tips: APEX 5 r IR by a dynamic action after the text fields complete

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    Now if I create a button that submits page or redirects to this page my report can be updated with the values of user entered without problem, basic stuff.  If I create the settings section as a dialog box model once again that I can get the update report as this dialogue submits the page as well as the report can refresh according to closed dialog option.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    I am struggling to get this to work and I even tried to copy these settings and do them as hidden for example bind input P1_A to P1_A_Hidden by a dynamic action and have the report where clause =: P1_A_HIDDEN, but have not managed to get this working.

    It's possible?  I know its easy to simply send the page and make it work, but I want the experience to be quite uniform for the user and act as you never leave the page.

    I saw on the packages of the app in the chart example.  The bubble chart has a list selector (salary) and the table updates dynamically, it seems so that the process can occur, but I need the user to enter text and not use selection lists.

    My apologies if I missed any, but I can give you more if it helps.

    Concerning

    1972903b-5166-494e-8355-08d9d4006e96 wrote:

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    The button simply trigger a unique dynamic action of refreshment on the IR region. Session state for page elements must be processed automatically by specifying them in the property Page to submit Items of the IR region.

    Please ensure that you have updated your forum profile with a recognizable username instead of "1972903b-5166-494e-8355-08d9d4006e96": Video tutorial how to change username available

  • Format mask of Crete then we enter some numbers in the text field

    Hello

    Version: Oracle Apex 5.0

    I'm trying to format mask using dynamic action. As if you enter 6 digit values in the text field, it must be auto filled with sign.i.e «-» 333 333

    Created:

    Dynamic action:

    event: key to exit

    Article: xxx

    JavaScript: $v('xxx').replace(^[[:digit:]]{3}-[[:digit:]]{3}$)

    When: touch button

    It does not any help would be great.

    Followed stops:

    Re: How to make a format for the input mask?

    Hi Pranav.shah,

    Pranav.Shah wrote:

    Version: Oracle Apex 5.0

    I'm trying to format mask using dynamic action. As if you enter 6 digit values in the text field, it must be auto filled with sign.i.e «-» 333 333

    Created:

    Dynamic action:

    event: out of key

    Article: xxx

    JavaScript: $v('xxx').replace(^[[:digit:]]{3}-[[:digit:]]{3}$)

    When: touch button

    It does not any help would be great.

    Followed stops:

    Re: How to make a format for the input mask?

    Use instead the input mask text "Text hidden v5.0" plug-in for Oracle APEX 5.0.

    Reference: Oracle Application Express Plug-Ins

    Kind regards

    Kiran

Maybe you are looking for