Announcement

Collapse
No announcement yet.

Link 2 parameter/field to 1 form

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Link 2 parameter/field to 1 form

    hi,

    i have created a form which have 2 sets of select field.

    one set is from the database table by default, one set i created by myself.

    the purpose of this form is to compare 2 products. and the reason i'm using all select field is because so that i can use ajax function which if i select a product, all other field will change to information of the selected product.

    here is a problem, since PHP is run on server side, i could not export the comparison as it still shows default products selection on the form. (my selection of products is only client side maybe)

    so i create a "control" form using 2 select field(of products) to link to the comparison form, so the comparison is done on server side and i can export it.

    But, i could only link one field (by "application")to the comparison form, there is only"capture" option on the "new link" when i try to create 2nd link.

    please advise.Capture.jpg

    Thanks,
    Oliver

  • #2
    Hi,
    you have to use those variable in your receiving form as global variables.

    {field1} = [glo_product_A];
    {field2} = [glo_product_B];

    Generate the source code for the form.
    Then go back to your control application and recreate the link and it will ask you for the variables.

    jsb

    Comment


    • #3
      Hi Jsb,

      Thanks for the info.

      Regards,
      Oliver

      Comment

      Working...
      X