html - POST Method Form doesn't pass variables unless refreshing the page -
i have html form modified purchased theme.
the original theme utilizes php file execute form action.
however; due client's need, need carry on variables signup page later registration purpose.
here's problem. form works, if refresh page. when it's first time visiting website , input information in form, not carry on information after click submit. if refresh page, re-fill form , click submit information carry on no problem.
my question is, sound normal problem html form? best way of constructing form pass on variables designated page? here's current code:
<div class="contact-form"> <!-- form --> <form id="contact-us" method="get" action="http://example.com/registration/country.asp"> <div class="col-xs-12 animated" data-animation="fadein" data-animation-delay="300"> <!-- first name --> <input type="text" name="fname" id="fname" required="required" class="form light" placeholder="first name" /> <!-- last name --> <input type="text" name="lname" id="lname" required="required" class="form light" placeholder="last name" /> <!-- email --> <input type="text" name="email" id="email" required="required" class="form light" placeholder="email " /> <!-- zipcode --> <input type="text" name="postalcode" id="postalcode" required="required" minlength="5" maxlength="5" class="form light" placeholder="zipcode" /> <!-- id --> <input type="text" name="enrollerid" id="enrollerid" required="required" minlength="7" maxlength="7" class="form light" placeholder="sponsor's id# "/> </div> <!-- bottom submit --> <div class="relative fullwidth col-xs-12"> <!-- send button --> <button type="submit" id="submit" class="form-btn light">submit</button> </div> <!-- clear --> <div class="clear"></div> </form> </div>
any appreciated. thanks.
Comments
Post a Comment