SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: Form Post

  1. #1
    SitePoint Enthusiast alf's Avatar
    Join Date
    Aug 2000
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Thanks for reading my post. I would like to know anyone can help me with this. I want to post value from a form to another without clicking the "Submit" button (HTML code <input type=submit name=abc value=Submit>).
    Does anyone know how to do this? The purpose I wanted to do that is to automate submission of over 30 forms /day to my site for analysing purpose. Thanks!


    Regards,
    Alf

  2. #2
    SitePoint Enthusiast alf's Avatar
    Join Date
    Aug 2000
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, forgot to let you know that I am using PHP and MySQL in my site. Thanks!

  3. #3
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't understand - how exactly do you want to determine when the form is submitted? Are you saying you'd rather have the user click a link to submit the form? An image? That you want one button/link to submit many forms at once?

  4. #4
    SitePoint Enthusiast alf's Avatar
    Join Date
    Aug 2000
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, what I wanted to do is one button/link to submit many forms at once. Sorry for my poor expression.

  5. #5
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmmm...I know this can be done with JavaScript, and I even know how, but for some reason it's not working on my computer - I'll mess around with it and get back to you, but I think it ought to be in this format (form1 is the form's name):

    Code:
    document.form1.submit();

  6. #6
    SitePoint Enthusiast alf's Avatar
    Join Date
    Aug 2000
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK. I'll wait for your good news. Thanks for you help.
    BTW, can I email you for further javascript assistant?

  7. #7
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, you can. I don't know if I'll have time to figure this one out, but you can contact me if you ever need help - I cannot guarentee I'll have time to assist you, but feel free to ask.

  8. #8
    SitePoint Evangelist mad-onion's Avatar
    Join Date
    Aug 2000
    Location
    Land of the long white cloud
    Posts
    556
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <EDIT>Sorry i read the posts again and now i understand... :-)</EDIT>
    Last edited by mad-onion; Feb 19, 2001 at 22:07.
    SiteOptions >> Services :: Products :: Contact
    Developers of PHP, C++, Visual Basic, MySQL, and more!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •