Note that there are some explanatory texts on larger screens.

plurals
  1. POAppend variables to url after form submit
    text
    copied!<p>I have this Landing Page that I need to pre-populate with form values after it is submitted. Essentially in the end I have to make the url look like this...</p> <p><a href="http://example.com/r.php?sid=xx&amp;pub=xxxxx&amp;c1=&amp;c2=&amp;c3=&amp;append=1&amp;firstname=Test&amp;lastname=Smith&amp;address=2211+Commerce+St.&amp;city=Dallas&amp;state=TX&amp;zipcode=75080&amp;email=test@test.com" rel="nofollow">http://example.com/r.php?sid=xx&amp;pub=xxxxx&amp;c1=&amp;c2=&amp;c3=&amp;append=1&amp;firstname=Test&amp;lastname=Smith&amp;address=2211+Commerce+St.&amp;city=Dallas&amp;state=TX&amp;zipcode=75080&amp;email=test@test.com</a></p> <p>What I currently have now for the form is...</p> <pre><code>&lt;form name="regForm" method="get" action="http://example.com/r.php?sid=xx&amp;pub=xxxx&amp;c1=&amp;c2=&amp;c3=&amp;append=1"&gt; &lt;input id="firstname" class="text" type="text" name="firstname"/&gt;&lt;br&gt; &lt;input id="lastname" class="text" type="text" name="lastname" /&gt;&lt;br&gt; &lt;input id="email" class="text" type="text" name="email" /&gt;&lt;br&gt; &lt;input id="address" class="text" type="text" /&gt;&lt;br&gt; &lt;input id="city" class="text" type="text"/&gt;&lt;br&gt; &lt;input id="zipcode" class="text" type="text" maxlength="5" name="zipcode" /&gt;&lt;br&gt; &lt;input type="submit" value="Send Me My FREE List" id="submitBtn2"/&gt; &lt;/form&gt; </code></pre> <p>How do i create that URL above after the form is submitted? I have been racking my brain all day on this and can't figure it out, i feel like im close.</p> <p>thanks for the help!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload