Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
frevvo/web/tn/<your tenant name>/user/app/_uJKtwbesEduG2Me8fheS4Q/formtype/_18go4Lx7EduG2Me8fheS4Q?_method=POST&embed=true
Tip

It is important that both  forms have been made public. If formA is public but formB is not, when the user submits formA they will get a page not found error.

Passing data from formA to formB

...

  1. Create formA and formB from the same schema.
  2. Edit formA
  3. Select the  Form Action icon
  4. Select the Post data and forward users to your web page wizard.
  5. Enter the raw form link for formB in the URL property of the wizard. Here is an example of the raw link share URL

    Code Block
    http://<your server>:<your port>/frevvo/web/tn/<your tenant name>/user/max/app/_mzwYwGMrEeeemceeobqUCg/formtype/_6NZG8GMrEeeemceeobqUCg?_method=post&embed=true

    Remember, you can use a relative URL if you are concerned with portability.

    Code Block
    frevvo/web/tn/<your tenant name>/user/max/app/_mzwYwGMrEeeemceeobqUCg/formtype/_6NZG8GMrEeeemceeobqUCg?_method=post&embed=true
  6. Test formA by filling in the fields and clicking Submit. formB displays with the fields populated with the data in formA.

...

Using Templates

Fields in form B can also be initialized with data from form A using Url Parameters. Imagine form A contains a from palette text control labeled 'Customer Name' with Name property set to 'custName'. And form B has a palette text control labeled 'Full Name' with Name properity set to 'fname'. Using either Form Action Go to Url or Post with the URL set to that of Form B, append &_data=(fname:'{custName}') and when form B loads it's 'Full Name' field will be set to the value entered into form A's 'Customer Name' field.

...