cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Accessing GET variables?

Add a New Topic Reply to Post
Post

Damian - Guest

5:20 pm - June 11, 2008

Is there a way to pre-populate a form field with a php GET variable?

I'd like to do something like this:

1. Create a lin to my form like this:
http://mysite.com/form/?name=value

2. Have the form show the URL variable's value in specific field

Is that currently supported?

Thanks!
Damian

Oliver - Admin

6:09 pm - June 11, 2008

posts 3549

That's exactly how it works :-)

Just try

with XXX being the ID of the field (e.g. cf2_field_1), and YYY the value.

Add a New Topic Reply to Post


Reply to Topic: Accessing GET variables?
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 12 + 6        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)