What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Update a form field value not working

    Asked by je862 on November 19, 2015 at 12:19 PM

    My conditional logic is working on all areas of the form except for the Date of birth entered on page one of the form in the third field is supposed to be carried to the Date of Birth in the Patient History in the "Birth History" area.

    Rather than the value entered in the third field on the Patient Information page, it inserts 11/30/1899 in that field.

    Thanks,

     

    Jim Erickson

    Page URL:
    http://www.jotform.com/?formID=52076525190150

    form field update a form field form field value a
  • Profile Image
    JotForm Support

    Answered by Charlie on November 19, 2015 at 01:45 PM

    Hi,

    This is because the "Date of Birth" in the first page is using the same field name of the "Date of Visit". While date of visit is blank, it shows you the default date which is 11/30/1899 if date field is blank. 

    If you check the field name of "Date of Birth" in page one and the "Date of Visit" , they both used {dateOf} as the field name.

     

    To fix this, you just need to edit one of them and re-create the condition. Here's an example:

    1. Click the gear icon and choose "Edit Properties".

    2. In the Properties window, click the field name and changed it. In my case, I changed it to {dateOfBirth}. 

     

    3. Now you'll need to recreate or edit the condition associated with it. Click "Conditions"->"Saved Conditions". Look for the condition that passes the value of "Date of Birth" from page 1 to "Date of Birth" in page 2.

    4. Here, just recreate the condition and add the "Date of Birth" field using the "Add Field" button.

     

    5. Here's a cloned form with the changes I made: https://form.jotform.com/53224983785972?. See if that's how you expect the form to work.

     

    Let us know if you need more assistance on this.

  • Profile Image

    Answered by Jim Erickson on November 19, 2015 at 04:16 PM

    thanks, Charlie.  So simple.