Add text to a field if a condition is met

  • mgcaledonian13
    Asked on May 24, 2015 at 5:50 AM

    I want to add the text "Name Withheld" to a name field if the user selects the option to withhold their name from a listing.

    URL of Test Page is
    http://www.mgcaledonian.com/test-of-show-hide/

    Add text to a field if a condition is met Image 1 Screenshot 20

  • Jan
    Replied on May 24, 2015 at 1:08 PM

    The webpage is asking for a password, may I know what is the password we can use to access the webpage so that we can further investigate?

    We'll wait for your reply. Thank you.

  • mgcaledonian13
    Replied on May 24, 2015 at 2:22 PM

    Hi 

    Sorry about that I had forgotten that I had put a password into it, it is now removed.

    If I forget and manage to put in again it will be $$$$$$.

    Regards

    Willy Scott 

  • jonathan
    Replied on May 24, 2015 at 6:24 PM

    Please test this form http://www.jotformpro.com/form/51436586105960

    Let us know if this can work for your requirement.

    Please take note that the Full Name input is not locked.. it means the 'Withheld Name' value can be easily overwritten by typing something into the input field.

    Let us know if there is more we can assist you with.

    Thanks.

  • mgcaledonian13
    Replied on May 25, 2015 at 2:20 AM

    Joathan

    That looks like the sort of result I am looking for, thanks, but you have not given me the usual Cloning option or changed the original (probably not what you as a rule).

    I assume that the input field is the same one for either Option as the title SH Name does not change.

    I also assume that there is no way of "sending" data to one other field, a sort of "Catch All", that can then be displayed in the listing.

    Add text to a field if a condition is met Image 1 Screenshot 20

    Thanks for your help so far.

    Willy Scott

     

  • BJoanna
    Replied on May 25, 2015 at 4:27 AM

    If I understood you correctly you want to pass values from two fields into one new field. You can do that by using conditional logic to pass values from one field to another. 

    http://www.jotform.com/help/286-How-to-Populate-Field-with-a-Value-from-another-Field 

    Add text to a field if a condition is met Image 1 Screenshot 40

     

    Here is a demo form I made. Where values from two fields are passed to one field. 

    http://form.jotformpro.com/form/51442432589963 

    Add text to a field if a condition is met Image 2 Screenshot 51

    Inside of this article you can find out how to clone form:

    http://www.jotform.com/help/42-How-to-clone-an-existing-form-from-a-URL 

    Inside of this article you can find out how to create grid listing report:

    http://www.jotform.com/help/105-How-to-create-a-Grid-Listing-report 

    Grid listing report for my form looks like this.

    Add text to a field if a condition is met Image 3 Screenshot 62

    Hope this will help. Let us know if you need further assistance.