This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Pre-fill fields with session variables or other
Started 11 years ago by anton7 | 2 posts |
-
Hello
Is it possible to pre-fill fields with session variables or other - if so, how?
Example: I have a shopping cart where on product landing pages they can ask a question - would like to pre-populate machform field with product name (comes from session) variable.
Super thank you
Anthony
Posted 11 years ago # -
You can populate the fields using URL parameters:
http://www.appnitro.com/doc-url-parametersOr if you want to use session, try this modification:
http://www.appnitro.com/forums/topic/capturing-_server-variables-to-form-elements?replies=2and use $_SESSION instead of $_SERVER mentioned there.
MachForm Founder
Posted 11 years ago #
Reply
You must log in to post.