Title: Using Get-Parameters
Last modified: November 14, 2016

---

# Using Get-Parameters

 *  Resolved [c3dscharf](https://wordpress.org/support/users/c3dscharf/)
 * (@c3dscharf)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/using-get-parameters/)
 * Hello,
 * I just started with PlanSo-Forms (v2.5.7) and I want to assign the value of a
   GET-Parameter in my URL to a field.
    So how do I add the GET-Parameter to the
   form? I didn’t find any documentation.
 * I enabled it in the form options and integrated the form with the shortcut [psfb
   id=”###” title=”Workshop” Text=”$_GET[‘test’]”]. I added ?test=123 to my URL.
   I’m afraid it’s not working, even with some variations in quotation marks. The
   field name is the right one, because the other functions (e.g. CURRENT_DATE())
   are working.
 * Thanks,
    Diana
    -  This topic was modified 9 years, 6 months ago by [c3dscharf](https://wordpress.org/support/users/c3dscharf/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [PlanSo](https://wordpress.org/support/users/planso/)
 * (@planso)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/using-get-parameters/#post-8432485)
 * Hi c3scharf,
 * The first step is to activate the option to obay GET and POST values passed to
   the form in the form’s settings.
 * If that option is activated all you need to do is use the field’s name as the
   get parameter. In you example above I’d suspect it is just “Text” (without the
   quotes) so that your url will be extended like this “?Text=123”.
 * If you don’t know the exact field name, you can go to the admin or user email
   settings and click the corresponding variable on the right and copy the value
   without the square brackets ([]) to your url.
 * There is no change in the shortcode needed. If you set the shortcode in a way
   you do it you can prefill field values on a per page basis. In that case a php
   variable like $_GET[‘something’] is illegal however.
 * Hope this helps,
    Cheers
 *  Thread Starter [c3dscharf](https://wordpress.org/support/users/c3dscharf/)
 * (@c3dscharf)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/using-get-parameters/#post-8433381)
 * Well… sometimes it’s easier than I thought. Works now. Thanks alot!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using Get-Parameters’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/planso-forms_198c4a.svg)
 * [PlanSo Forms](https://wordpress.org/plugins/planso-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/planso-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/planso-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/planso-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/planso-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/planso-forms/reviews/)

## Tags

 * [get parameters](https://wordpress.org/support/topic-tag/get-parameters/)

 * 2 replies
 * 2 participants
 * Last reply from: [c3dscharf](https://wordpress.org/support/users/c3dscharf/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/using-get-parameters/#post-8433381)
 * Status: resolved