Versions Compared

Key

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

...

  • Copy the the Link (Email/Web Page) share URL for one of your forms and append ?_extId=123 to the formtype URL. Open that URL in your browser and start filling in a form. Do NOT submit the form.
  • Next, open a 2nd browser tab or window and use just the formtype URL and it will be blank. A new form instance is created.
  • Open a 3rd browser tab or window and use the share URL again appended with ?_extId=123, and you'll get back to the 1st instance.  

_

...

formActionUrl, _formActionMethod, _formActionTarget

The Form Action can be overridden by using these special (reserverd) URL Url parameters. The presence of _formActionURL overrides any Form Action in the Form Designer by specifying which URL Url to go to when the form gets submitted.

_formActionMethod is optional and can be set to either "get" or "post". If unspecified it defaults to "get" causing the user to get forwarded to this web page when the form is submitted. If set to "post" it will also post the data to this URLUrl.

_formActionTarget is optional and only taken into account when _formActionURL formActionUrl is specified. It can be set to one of the values: frame, parent, top. It defaults to Frame if not specified.

When the _formActionURL formActionUrl parameter is set but no URL Url is given (i.e. ...&_formActionURL formActionUrl =&embed=...) the top frame will be closed. It is as if you set Form Action to Close" in the Form Designer.

For example... the share URL Url with &_formActionURLformActionUrl=http://www.google.com, will cause the form to display google.com when it's submitted, even if in the Form Designer you had set the Form Action to be "Display Message" or one of the other options. 

_formActionURL formActionUrl params are used directly by  to re-direct the browser. When the _formActionURL formActionUrl (or any parameter)  is received, it is URL url decoded by the servlet container. Therefore, it is best practice to encode the _formActionURL formActionUrl paramater value. It is up to the  client to encode passed in _formActionURLsformActionUrls.

_cancelUrl

The designer can override the standard message that displays when the user clicks on the Cancel button in a form and redirect them to a webpage of your choice by appending the _cancelUrl=(some URLUrl) to the raw form link. For example, if you want to redirect users to http:www.google.com the raw form link should look like this:

...

The user must click "Yes" for the warning message "Are you sure?" and then will be directed to the specified URLUrl.

Setting _cancelUrl= to blank closes the target window or tab if it was opened by javascript or <a target="new"…/>. Otherwise it will simply show a blank page.