- This topic has 3 replies, 2 voices, and was last updated 8 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Query String Parameters to PreFill Forms?
Does this functionality exist? We want to prefill fields like name/email address/phone from a campaign email system sending out a url to the form. The form would be http://www.domain.com/eme_form/?firstname=test1&lastname=test2…etc.
It is not directly possible in EME itself, but using some jquery you could prefill the form with values from the url. The jquery can be defined in the EME settings, tab “Other” (headers-setting).
Ahh nice, thanks for the suggestion. That worked for me.
Is there a way to have some type of hidden field on the form that I could pass along an ID into from a source system? Can attributes be used for that?
//Unless there is a more straightforward way, I suppose I could add a field and have the javascript hide it.
See the doc for extra formfields:
Just check the generated html, and in stead of using #_FIELD{xx} in the registration form format, put in the generated html yourself (and add the ‘hidden’ attribute to them).