Jump to content
  • 0

Submit form using a link, instead of a submit button


JaredL

Question

I have a form, and I would like to submit the form by clicking a link instead of a submit button, and then having the form redirect to a single record update page while passing a parameter (the unique ID generated from the form),

 

Any resources I could refer to be able to do that?

 

Thank you for your help.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi JaredL,

You may add an HTML block to your form and insert the following code:

<a href="javascript:document.forms[0].submit()">Click here to submit</a>

After that open the  Web Form Wizard - Destination and Emails  screen and select "Go to a new datapage" in the "Destination after record submit" field.

Then insert an URL where you have deployed the Update form and pass parameter in a query string.

You can find more information about passing parameters at:

http://howto.caspio.com/parameters/parameters-as-query-string-values/

Also here is another useful link about using links for form submission:

http://stackoverflow.com/questions/313478/how-best-to-make-a-link-submit-a-form

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...