Quick HTML Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Magg
    Confirmed User
    • Feb 2004
    • 4467

    #1

    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
  • Magg
    Confirmed User
    • Feb 2004
    • 4467

    #2

    Comment

    • jwerd
      Confirmed User
      • Jun 2003
      • 1953

      #3
      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

      Comment

      • Coyote
        Drinker of Scotch
        • May 2003
        • 242

        #4
        Originally posted by Magg
        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

        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.
        Ethernet Servers

        Quote:
        CS: Linux can pretty much run on a potato. Which is a GOOD thing.

        Comment

        • Magg
          Confirmed User
          • Feb 2004
          • 4467

          #5

          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.
          Last edited by Magg; 06-14-2004, 10:43 AM.

          Comment

          • Magg
            Confirmed User
            • Feb 2004
            • 4467

            #6
            btw

            Comment

            Working...