• Resolved klingbeil

    (@klingbeil)


    Hello,
    Sometimes we use the same fields and definitions. For example, dozens of fieldname2 fields and result definitions For example: “#calculation-result” They work independently of each other in every form, right?

    Forms do not conflict with each other because of these definitions, right?
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @klingbeil

    If you have two forms in the same page, and a div tag with id="#calculation-result", and both forms include the following piece of code as part of their equations:

    jQuery('#calculation-result').html(result);

    Since they are modifying the HTML content of the same tag, it will be the result of the last equation to be evaluated.

    Best regards.

    Thread Starter klingbeil

    (@klingbeil)

    same on separate pages and separate forms

    jQuery('#calculation-result').html(result);

    I am using the result. Completely separate page and separate form ids, single result parts are the same

    Plugin Author codepeople

    (@codepeople)

    Hello @klingbeil

    As your forms are in different contexts, this should not lead to any conflicts.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Commands and Fields’ is closed to new replies.