• Resolved massimo1971

    (@massimo1971)


    Hi, I have an issue with a form:
    https://ibb.co/r6qcbLS

    Basically, the user selects a model (1).
    By default, the STANDARD option (2) is selected, and its value is inserted into the TOTAL field (3).

    The problem is that, for some models selected from the menu (1), I need the STANDARD field to be deselected, or its value to be set to zero. Is it possible?

    Thank you.

    • This topic was modified 6 days, 20 hours ago by massimo1971.
    • This topic was modified 6 days, 20 hours ago by massimo1971.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author CodePeople2

    (@codepeople2)

    Hello @massimo1971

    Thank you very much for using our plugin. Since the STANDARD option belongs to the fieldname93 field, you can call the following piece of code as part of an equation or button onclick event:

    getField(93).setVal(0);

    Best regards.

    Thread Starter massimo1971

    (@massimo1971)

    The problem is that, for some models selected from the menu (1), I need the STANDARD field to be deselected or its value set to zero, but when another model is selected, it should reset and behave normally (selected by default). Is this possible?

    • This reply was modified 6 days, 17 hours ago by massimo1971.
    Plugin Author CodePeople2

    (@codepeople2)

    Hello @massimo1971

    Yes, that’s possible. You can insert a calculated field in the form to be used as an auxiliary (you can hide it by ticking a checkbox in its settings), and check the value of the field for the model through its equation, and based on it you can evaluate getField(93).setVal(0); or getField(93).setVal(1250); 1250 is the value of the STANDARD choice.

    If you need a custom coding service to implement your project, you can contact us through the plugin website. Contact Us

    Best regards.

    Thread Starter massimo1971

    (@massimo1971)

    Wow. It’s works like a charm!!

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.