Events Made Easy Forums How do I … Query String Parameters to PreFill Forms?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55824
    Anonymous
    Inactive

    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.

    #55825
    Franky
    Keymaster

    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).

    #55826
    Anonymous
    Inactive

    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.

    #55827
    Franky
    Keymaster

    See the doc for extra formfields:

    http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-6-registration-form-fields/

    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).

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top