• Resolved Trucker

    (@trucker)


    Hi,
    Let’s say I have 2 fields:

    Field1: Dropdown Field
    Field2: Number Field

    I am trying to set the value of Field2 (editable) whenever users select a different value from the Field1 Dropdown.

    My Field2 is currently showing the value of Field1, however, when users change the option of Field1, the number in Field2 doesn’t get updated.

    Thank you!

    • This topic was modified 3 years, 6 months ago by Trucker.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @trucker

    Please, use a calculated field for the fieldname2 instead of a number field, and enter the name of the dropdown field fieldname1 as its equation.

    Best regards.

    Thread Starter Trucker

    (@trucker)

    How can I use the fieldname1 as an editable field?
    Thank you!

    Plugin Author codepeople

    (@codepeople)

    Hello @trucker

    I’m not sure about your question, but if are referring to the calculated field, you can untick the “Read only” checkbox in its settings.

    Best regards.

    Thread Starter Trucker

    (@trucker)

    I was asking that whether user can edit the Predefined Value in fieldname2. Thank you!

    Plugin Author codepeople

    (@codepeople)

    Hello @trucker

    First, who is fieldname2? Is it a calculated field? If it is the case, and the form was configured to evaluate the equations dynamically, the value of this field will be the result of the equation, even if you have defined a predefined value through its settings.

    Best regards.

    Thread Starter Trucker

    (@trucker)

    Hi, it is a number field, not a calculated field.

    Plugin Author codepeople

    (@codepeople)

    Hello @trucker

    If it is a number field, you should enter the default value through its “Predefined Value” attribute. But pay attention. If you tick the checkbox to use the default value as a placeholder, it would be a placeholder and not a value.

    Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Get Predefined Value from Dropdown’ is closed to new replies.