PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Query strings and special characters

  1. Hello: I tried to find an answer to this but no luck so far. I have a form with a 'radio button' input; the choices include things that people might say and need to have " quotes" around part of it. And I am wanting to pass this response to a following page form via query string. and then dynamically populate a similar form on page 2; the problem comes in with having quotes on the response; then i cant get the field on the next page to pick up the data properly; but as soon as I remove those special characters; it works fine. I tried to see if I could do the "enable values" option; but I could not figure out how to make it pass that info in the query string instead of the "label". If I could do that; then the "label" could have all kinds of crazy characters and i would not matter. I am thinking this may be an easy matter to answer for any GF veteran. Can anyone help? Thanks, Gerard

    Posted 13 years ago on Thursday December 15, 2011 | Permalink
  2. Hi Gerard,

    To clarify, you'd like to pass data entered in one form (which contains quotes) to another form and automatically populate this data into another field? And the only issue is the quotes? I did a couple test with this scenario and the form was able to populate the text with quotes in without issue.

    Could you post some sample data (with quotes) that is not working?

    Posted 13 years ago on Thursday December 15, 2011 | Permalink
  3. Hello David: Thanks for getting back with me on this. What I want to do is have a multiple choice input (radio buttons) on page one. The labels on these inputs may or may not have quotes. When the user hits submit on page 1; the data is passed via query string to page 2. On page 2 is the exact same form as page one with exact same multiple choice thing. So; I want this form on page 2 to be dynamically pre populated from the input on page 1. But when there are quotes or other special characters on the labels of page 1; then the form on page 2 is not prepopulated properly. But if I remove all special characters, then it can prepopulate without a problem...

    Posted 13 years ago on Saturday December 17, 2011 | Permalink
  4. Hi Gerard,

    Thanks for the additional clarification. I was now able to recreate this issue. The simplest solution is to give each radio option a URL-friendly "value" (using the enable values option). If you don't want to use the values, you can enter the URL-friendly encoded formatted:

    [js]
    & => & amp;
    " => "
    Posted 13 years ago on Tuesday December 20, 2011 | Permalink

This topic has been resolved and has been closed to new replies.