Update a form field value not working

  • Profile Image
    Asked 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.



    Jim Erickson

  • Profile Image
    Answered on November 19, 2015 at 01:45 PM


    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
    Jim Erickson
    Answered on November 19, 2015 at 04:16 PM

    thanks, Charlie.  So simple.