![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2004
Location: ICQ: 132497047
Posts: 4,467
|
Quick HTML Help
I need to make a form auto submit when the page is loaded and also have it completely hidden, and once the information is submitted via the form, it doesnt go to any "confirmation of submission" page...
Whats the code for this please |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2004
Location: ICQ: 132497047
Posts: 4,467
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jun 2003
Location: Costa Rica
Posts: 1,953
|
I've been in the jscript world for a while - I just wrote a calculation that functions like that. I believe if you use the onChange function, it will submit the results to whereever you need them. Or is it onPageload? I am not quite sure, go to google.com and search for onChange and see what others use the usage for. Goodluck
![]() and as for the hidden part, just simply... hahahahahahaha type=hidden name=whatevervar value=whatever> Take it easy.
__________________
Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Drinker of Scotch
Industry Role:
Join Date: May 2003
Location: Texas
Posts: 242
|
Quote:
You have a number of 'features' that don't quite make sense to me... You want the FORM hidden, but also need information to populate whatever form fields you have, then auto-submit on page load? If the information comes from a user, then you cannot auto-submit the form on page load, nor can you have all the datafields hidden from the user. You wanna rephrase your question please. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2004
Location: ICQ: 132497047
Posts: 4,467
|
Code:
< fo rm action="http://URL/member.php" method=pos t> inp ut type="hidden" name="s" value=""> <tr> <t d bgcolor="#FAFAFA"><font face="verdana, arial, helvetica" size="2">inpu t type="hidden" class="bginput" name="email" value="[email protected]" size="30" maxlength="150"></font></td> </tr> <tr> <t d bgcolor="#FAFAFA"><font face="verdana, arial, helvetica" size="2">hahahahahahaha type="hidden" class="bginput" name="emailconfirm" value="[email protected]" size="30" maxlength="150"></font></td> </tr> </table> </td></tr></table> <br> <table cellpadding="2" cellspacing="0" border="0" width="98%" align="center"> <tr> <td align="center"><font face="verdana, arial, helvetica" size="2"> inpu t type="hidden" name="action" value="updateprofile"> inpu t type="submit" class="bginput" name="Submit" value="Submit" accesskey="s"> </font></td> </tr> </table> </form> </td> </tr> I need that to auto submit onload and then the confirmation url sent by the server to be nulled so the page isnt redirected. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2004
Location: ICQ: 132497047
Posts: 4,467
|
btw
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |