Updating a form field value

  • Nolasol
    Asked on November 21, 2014 at 10:42 AM

    Hello,

     

    I'm building an order form to a transport service.
    I have three sections with same questions:

    I.

    Customer's name: text box
    Customer's e-mail: text box
    Customer's phone: text box

    II.

    Same as customer (check box)
    Sender's name: text box
    Sender's e-mail: text box
    Sender's phone: text box

    III.

    Same as customer/sender (check box)
    Addressee's name: text box
    Addressee's e-mail: text box
    Addressee's phone: text box

    If customer would check the 'Same as...' check box, I'd like to be filled text boxes below automatically.
    I set up "Conditions>Update a form field value" correctly to all of 3-3 fields.

    I started a preview and I see, if I fill customer's data and then check in the addressee's section "Same as..." check box, then addressee's fields become to zero ("0") instead of customer's name, e-mail and phone number...

    What do I wrong?

     

    Thanks

     

    Noemi

  • Nolasol
    Replied on November 21, 2014 at 12:38 PM

    Hello,

     

    I solved it myself :-)

    I forgot check the "Add field to equation as text by default. " in Advanced options of calculation form.
    Sorry, I have to get used to this method, it differs from our previous form builders.

    Have a nice day

     

    Noemi

  • David JotForm Support
    Replied on November 21, 2014 at 2:31 PM

    Glad to hear it!  No worries at all, I actually had a fun time finding that option myself.  Since you have to select an option at the bottom of the calculation to even have the option show, it is not very clear at first.  Let us know if you have any further questions and we will be happy to help.