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

    Why condition is not copying the field's value if it has the default value prefilled?

    Asked by iMatter on December 18, 2016 at 08:59 AM

    I have one field {State for webmerge} that is populated (using a condition) from either the field {State} or {Province} based on the contents of the field {Country}.

    Country has a default value of "United States" - but it appears the condition doesn't execute unless the {Country} field is touched. I want the condition to execute even on the default value of {Country} - how can I do this?

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Nik_C on December 18, 2016 at 03:25 PM

    Could you please try to add one more condition to the existing ones, like this:

    That should trigger copying of those values. Also, add the same condition to your other condition (number 2. in conditions list). And make sure you put All for 'If___of the "if" rules are matched' like in the image above.

    I did some tests and field with default value was copying fine.

    Please try and let us know if it works for you.

    Thank you!

  • Profile Image

    Answered by iMatter on December 18, 2016 at 05:48 PM

    Yes - it seems to be working. Thanks!

    But I don't understand why the other condition is needed... 

  • Profile Image
    JotForm Support

    Answered by Charlie on December 18, 2016 at 11:21 PM

    I'm glad that my colleague's suggestion worked.

    Upon checking your form, I presume the reason might be related to the number of conditions dependent on the input field. When multiple conditions are setup, it tends to become more strict when triggering the specific actions, so it needs another condition for that.