• Resolved lmobile

    (@lmobile)


    Dear support

    is it possible to get entered data from a field to another within the same form?

    As example data from fieldname1 (entered by user, may the name) into fieldname 2 ( used within the result, based on the entered user data from fieldname1 )?

    Thanks for helping out Marc

    • This topic was modified 3 years ago by lmobile.
Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    There are different alternatives based on the controls. The fieldname2 could be a calculated field with the equation:

    fieldname1|r

    The |r modifier allows getting the raw value of the field without preprocessing.

    If fieldname2 is not a calculated field, you can insert a calculated field as an auxiliary to fill it (You can hide the new calculated field by ticking a checkbox in its settings). The equation, in this case, would be similar to:

    getField(2).setVal(fieldname1|r);

    The getField operation receives the number part of the field’s name and returns its object representation.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Prefilled form field’ is closed to new replies.