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

    Auto fill a field with a condition form other fields

    Asked by Fivestonesmarketing on May 29, 2015 at 02:49 PM

    I have a for that is auto calculating the distance of a location from two different stores. I my form to auto fill my Total Distance field with the smaller of the two other fields so that I can calculate a delivery charge.

     

    So Here is what will already be filled:

    Field #1 - Miles from store A: ________

    Field #2 - Miles From store B:________

     

    I want field #3 to autofill with the whichever is smaller (Field #1 or Field #2)

     

    I have tried this and can not get it to work.

     

    Thank you,

    Jon Carr

     

     

    fill different charge 3
  • Profile Image
    JotForm Support

    Answered by david on May 29, 2015 at 03:34 PM

    Hi,

    I believe my colleague has already raised a ticket to our developers regarding this issues.  I checked the conditions myself and it does indeed look like the update condition is not working when using greater than/less than statements.  We will update this thread here as soon as we have any further information:

    http://www.jotform.com/answers/577098-Update-a-form-field-value-if-one-field-is-greater-less-than-some-other-field