Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

Setting A cookie on a form then forwar to another url

I need to know how to set a cookie on a form on "Page A" so that once a user fills out the form and clicks submit, it forwards them to "Page B".  But this cookie must take them to "Page B" from then on when the click on "Page A".   I need to do this in Javascript if at all possible.  Thanks!
1 Solution
You should be having a $$Return field. This will redirect the user to specified form/page. In that you can Print messages and provide link to Page A.

Please check Notes Help on how to create $$Return field.

Text, Computed for display
Sample Formulae:
"["+"/" + @WebDbName+ "/0/"+@Text(@DocumentUniqueID)+"?OpenDocument"+"]"

"["+"/" + @WebDbName+ "/FormAname?openform"+"]"

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now