fortnox007 Posted October 22, 2010 Share Posted October 22, 2010 Hi all, I am not sure if this is possible but I am trying to provide people a link to a page (not mine btw) with values already filled in. So for them it's faster to submit the form. Problem is the Form is using method post. what i tried was the following but it didn't work. there is an input field: <input type="text" value="" maxlength="255" size="10" id="numpoints" name="numpoints" class="inputbox required"> So i thought if I just make an url like : http://godzillaeatsbananas.com/index.php?numpoints=100 it would fill in the field with a value of 100 but it doesn't Anyone might have an idea on how to accomplish this. Thanks! Quote Link to comment Share on other sites More sharing options...
AbraCadaver Posted October 22, 2010 Share Posted October 22, 2010 The only way to do it is if you have access to modify the form and it is a PHP file. Then you would set the value in the input: value="<?php echo $_GET['numpoints']; ?>" Quote Link to comment Share on other sites More sharing options...
fortnox007 Posted October 22, 2010 Author Share Posted October 22, 2010 hehe i was afraid of that thanks alot though for your reply. have a nice day! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.