Jul 9, 2008

Submit Multiple Forms At Once

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Website Discussion

free web hosting

Submit Multiple Forms At Once

darran
Is there a way I can submit multiple forms at once?

For e.g. I click on a dropdownlist to generate 6 forms (I have done this) using Javascript, but I am not sure how I can define each form with a name and their action.

Is it possible to do this and if so, can you enlighten me further?

Reply

jlhaslip
Without looking anything up, I would say this is not possible.
Each Form has an action attached to it. If you could send control to 6 different places, and they can set a process in action, where does it stop?
So plan on having the form submit only once to a page which validates and performs all the tasks you want done by the six forms, but from a single script, possible looping to get everything done?

That'd be my take on it.

Reply

saga
I think its possible with this teknik.. assuming that I get wat u mean... smile.gif

You can manually send data to the form processor/page.

CODE
http://www.me.com/processor1.php?titleForm1=This%20is%20from%20Form%20One
http://www.me.com/processor2.php?titleForm1=This%20is%20from%20Form%20Two
http://www.me.com/processor3.php?titleForm1=This%20is%20from%20Form%20Three


With one click on the dropdouwn list you can make a javascript that will open this addresses with the data attached to the URL.

Reply

darran
I am sorry if I have confused you with my title.

What I meant was to create multiple form elements for submission using javascript.

I have already achieved it, adding elements in a form dynamically, and with their own unique IDs by means of a for loop and a variable. Is it possible to have access to these 'javascript added' elements? Can they function like normal form ids placed in the body tags?

Reply

shadowx
i think i understand, im not very good with JS but i think theres a way that goes something like "formname.submit()" and if you were to put that function into an OnClick event on the button eg:

CODE
<button OnClick="form1.submit(); form2.submit();">Submit</button>


then it should submit all the forms at once, again ill say im not very good with JS but you can try googling the form.submit function and see what you find.

Reply

darran
Is there a way to validate dynamically created fields using javascript?

I tried using a for loop but the problem is these dynamically created fields are not under the form tag. Because I am using the innerHTML of a div tag to create these fields. How can I validate them?

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. submit multiple forms at once with php - 110.65 hr back.
Similar Topics

Keywords : submit, multiple, forms

  1. Multiple Page Titles
    Multiple Page Titles (1)
  2. Frontpage Problem
    Strange message when press Submit (0)
    Trying to set up a "skeleton" form generated with Frontpage 2000. After installing Frontpage
    Extensions, when I hit Submit on the form I get this response: *-*-* :-| :^| :-/ :-( 8-( *-*-*
    * status=1 * osstatus=0 * msg=FrontPage security violation. * osmsg= I'm new at
    this, and don't understand any of the above response. Please explain the above stuff and suggest
    how to fix it. Thanks, Jack Here's the brief code: <!--webbot
    bot="SaveResults" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/CS....
  3. List Of Free Directories To Submit Your Websites
    (7)
    Hi: Submission in free directories is a world-known way to increase ranking and traffic. But most
    of you don't know a good source of that list of directories. Here is a great source of free
    directories list . Just start submission in those directories in your free time, and see you
    ranking.......
  4. Php - Forms, Date And Include
    Working with POST and GET and also the Date() function (0)
    /--------PHP FORMS, DATE AND INCLUDE TUTORIAL BY FLASHY--------\ Hi and welcome to my
    tutorial. I will show you how to make simple PHP forms with the POST and GET statements. I will
    also show show you the Date() function too, aswell as the include() function. OK, so first you need
    a good understanding of HTML, and you need to create your form using that. So lets start off with
    the HTML form. 1. Create a page called form.html. 2. Insert your standard tags like: CODE
    <html> <head> <title>Working with php forms.</title> </he....
  5. I Have Install Windows 2003 Server
    I want multiple user to login my server (3)
    I have install windows 2003 server and some application like iis, share point, etc.my development
    time want remote desktop for few user so I want multiple user to login my server but I have not
    install active directory and I don’t want to install so tell me the best way to resolved the problem....
  6. Restrictions On Php & Forms?
    $_GET/POST/REQUEST? (2)
    alright, so heres me again (theres probably a contact page on the website but I figure somebody
    has/will have this question and they'll want to know it so why not ask and share the love &
    knowladge (minus the love)) so I've been working on a two part contact page. contact.php
    CODE <p><img src="images/sig.gif" align="left" width="37"
    height="69" style="margin-right: 5px;" alt="B/S Signature"/>
    <font   class="head">Contact!</font><br/> <form action=&#....
  7. I Have Some Problem
    I want my pc to connect multiple pc (9)
    Hi I have some problem I able to connect remote pc once its connect my local user logoff but I
    want my pc to connect multiple pc can any one can solve my problem ....
  8. Multiple Forum Skins
    To have, or not to have? (6)
    Hey all, I'm just starting up a forum on my hosting here, and I was wondering, how do people
    here feel about having multiple skins? I think just having the default skins that come with the
    forum and maybe one or two added on that match the style of the forum a little better, but what do
    you think? Should I have a dark/light added on, in addition to the default skins? and should I
    leave the forum default as one of the included skins? or something that fits in with my idea of what
    the forum looks like a little better? thanks for your opinions /smile.gif" style="vert....
  9. Php & Forms Question
    (2)
    okay, so i have a form on a php script i am working on, and i want the form to submit to the page it
    is on... CODE echo "<form action=\"" .
    $_SERVER['REQUEST_URI'] . "\"
    method=\"GET\"> \n"; so say the page it loads on is something like
    index.php?page=article&id=8 when i submit the form, it ignores the query string and just goes back
    to index.php i tried something like CODE $action =
    $_SERVER['PHP_SELF'] . "?" . $_SERVER['QUERY_S....
  10. Submit Your Site To Google
    How to make google find your site (14)
    How to submit website to google? Is there any fast and guaranteed way to do it?....
  11. Trying To Run Multiple Hard Drives
    (3)
    I am trying to run multiple hard drives in my pc, I have a xp o/s and I want to run two internal
    hard drives, the one is the existing main drive ( C ) it is working fine. The other is a new
    internal drive that I have added. The installation of the additional drive went fine, I set the
    main drive jumper of C to main and the new drive to slave. I am able to view and test the existing
    main drive ( C ) and the new drive under device manager, both are working. But when I click on (MY
    Computer) I am only able to see the one existing drive ( C ). I want to be able to us....
  12. Open Multiple Website With One Click
    Simple Bat file that opens all your favorite sites in one click (0)
    All you have to do is * Open notebook copy and paste this code ( you of course can change the
    website you wish to go to this is just a example) CODE @ECHO OFF ECHO STARTING FIREFOX START
    C:\"Program Files"\"Mozilla Firefox"\firefox.exe
    http://www.google.com/ http://myspace.com http://www.trap17.com/forums/index.php? *
    Then in notepad go to file save as * save the file as in the file name box somefilename.BAT
    ( it MUST have a BAT extension) * in the save file type click on all files * then click save....
  13. Start Multiple Programs With One Shortcut
    Windows XP (15)
    Welcome to my turoial on how to start multiple programs using one shortcut. You may probably be
    wondering how this is possible. Well this tutorial will use a language from MS-DOS called batch. I
    am not sure whether it is "language", but I do know that it is a way to program for MS-DOS. Batch is
    simply a way to run several MS-DOS commands with just one command. All batch files are run through
    Command Prompt, but they can be accessed with shortcuts also. Here are a few requirements for this
    tutorial. Requirements Windows XP (I tested this on XP, but it should work on m....
  14. Adobe Acrobat Tutorials Required
    Help with getting forms to work. (1)
    Hello, I was wondering if someone could point me into the right direction. I am using Adobe
    Acrobat 8.1 and have (with varying success) tried to use the Livecycle form designer. As most people
    probably know, Adobe makes brilliant programs, but they are very difficult and user unfriendly to
    use, while the help files and Knowledge Base and online support look like they have been written in
    Chinese. Anyway, designing a form is very straightforward, but getting it to work to send the
    contents by email or put them into a database is quite another matter. I made two forms ....
  15. Integrity Checks Failing During Multiple Ajax Request
    somehow the checks fail due to lag. (0)
    Heres my merit system at its current stage. http://sonesay.trap17.com/index.php note: select a
    character from the drop down list to see output. I've been working on this locally on my mac
    and because of little or no delay I did not see the problem until I decided to upload to the WWW.
    The problem lies in the adding of merits to each category. Although there are integrity checks on
    the PHP side before executing the update to mysql database it somehow fails because of the lag. i.e
    multiple 'add' buttons can be pressed before the section gets reloaded. so if....
  16. Post Forms
    How to make a page with posting (1)
    Hey guys i am trying to make a page for posting things. I don't know if you have seen the page
    craigslist.com i would like to do something like that. What do i need to know and is it pure php or
    just html... thanks....
  17. Dreamweaver Forms
    HELP (3)
    Hey guys i am new at this. i am trying to make a form and i want the form when submited go to my
    email adress..how can i do this? any help please.......
  18. Question About Multiple Voting Post Or Get Methods
    Multiple voting post or get methods on 1 page (3)
    Hi all. I'm working on a page that outputs a list of submited applications where exisitng
    members can view the list and submit their vote on each application. // output voting option for
    each application. echo(" "); echo(" "); echo(" Accept "); echo(" Reject "); echo(" ");
    echo(" "); echo(" "); I want to be able to submit to the same page but cant figure out how I
    am going to do it with the post method and retain the application Id which will be used later to
    process the vote. I have got around this problem before with using links and using get ....
  19. Multiple Gmail Accounts As Free Online Storage?
    (8)
    I came across this topic which basically says that you can use Gmail to store your files. If
    you're lucky, you get some free gmail invites to be sent to your friends when you open a gmail
    account. Now if you just keep sending the invites to yourself, you'll end up with lots more
    gmail accounts, isn't it? (I've tried it, you CAN create multiple gmail accounts by inviting
    yourself) And that means more storage space if you use each account to store 2 GB of things right?
    Could it possibly rival other premium data backup services online, most importantly....
  20. Dynamic Signature - Yet Another Way To Do It
    Create dynamic sigs for multiple users using .htaccess and RewriteRule (0)
    Ever since I connected a program I made in Visual Basic to MySQL database, I had an idea to create
    some sort of a status page... And I did that, where I updated my connection status every 60 seconds,
    updated my Winamp playlist, and several other interesting things... Then, I figured I could create
    an image, and display all that info, and show it on forums, as a signature... And I made a great
    PHP script, that look real fancy, and does the job perfectly... So, I was adding the reference to
    http://status.galahad.trap17.com/stat.php to all the forums... BUT (there's ....
  21. Multiple Hosting
    more than one account (3)
    i have a question if you are already hosted on trap17 can you get a second hosting account and would
    you have to keep twice the the amount of greadits or not?....
  22. Testing Multiple Voting Options
    Description (4)
    testing....
  23. Multiple Drop Down Lists ?
    Multiple drop down lists to take user to new page (4)
    Hi everyone I was wondering if anyone could help. I want to create a page with multiple drop down
    lists and depending what the user selects decides the page they will be taken to. Sorry i havent
    explained this too well. Here is an example of what i want (link below) the user is also emailed a
    copy http://www.dermalogica.com/SpeedMappingOnl...US®ion=B I have searched the web and come
    close but nothing does it right I would be extremely greatful if anyone could help! Thanks ....
  24. Stop Double Post/submit
    (10)
    Hi Whats the best way of stopping a double post from occurring? Re-directs? I was hoping that
    there was another way because I am using smarty and with the current setup of my site implementing
    redirects would be a right pain. Thanks for any help. ....
  25. Getting Information From Submit Button
    I need to grab information from a submit button. (1)
    I basically have an array that uses characters as keys and has an integer value to it. I have a
    loop that outputs the list in that array. For each entry I want a a button to remove it. The button
    will submit the form to another page which contains the script to be able to remove it from the
    array. The infomation for the keys name is used for the buttons name value. Im not sure how you go
    about grabbing this information once on the submitted page. heres my code CODE
    echo("<form name='jobs' action='remove_job.php'>"); foreach....
  26. Spice Up Your Forms
    With a bit of CSS and HTML alignment (11)
    Ever wonder how to make those stylish forms you see everywhere? Well now it's your change to
    learn. This short tutorial will show you how to do exactly that. Here is a bit of css to spice
    up the form. I have included comments to explain what classes will change what in the forms.
    CODE <style type='text/css'> .form table { background-color: #187cae; }
    /*The following css class will change the table cells within the .form div */ .form td {
    background-color: #bbe0f4;            padding: 3px;            border: 0px;         ....
  27. Adding Data To A Database And Displaying It Later
    Using Forms, PHP and MySQL (1)
    Requirements: PHP Support MySQL Database access I am going to use a news program as an example.
    Ok, first you are going to need to connect to the database. Do so by using the code below. I have
    added some comments where you will need to edit to fit your server's specifications. Create a
    new file with notepad and call it config.php QUOTE //Change root to your database
    account's username $dbusername = "root"; //Add your account's password in between the
    quotations $password = " "; //Add the name of the database you are using in betw....
  28. Evilboard (forum Software) - Multiple Categorys - Don't Work :(
    I am creating a forum and i can't fix more then 1 category. (6)
    I am at the moment trying to program my own forum, but i need more then a single category, here is
    my source: CODE function cat () { include("functions/functions.php");
    echo '<table width="100%"  border="0" cellspacing="0">
    <tr> <td class="eb_top" colspan="3" style="border-bottom-width:
    0; height: 30px; font-size: 12px;"> <b>Forum</b></td>
    </tr>';      global $catid;   $db = new db;   $db->connec....
  29. Multiple Drop Down Menus W/ Submit Button
    (6)
    I am building a page that will have 2 drop down menus and a submit button. The first menu will have
    one set of options, say colors (red, blue, green, yellow). The second menu will have another set of
    options, say sizes (small, medium, large). What I want to be able do is select a color and a size,
    click submit and have it go to the page for those options. So if a user picks 'Red' and
    'Small' and clicks submit they will be linked to page1.html. If they pick 'Blue' and
    'Large', they will be linked to page2.html, and so on. Any ideas how to ....
  30. Forms With In Forms?
    (3)
    I’m working on an Invoice page. The user may edit some of the vars on the page. Then The user will
    want to re calculate the totals. Then after seeing the re calculated totals then I will want to
    submit this info to the next page where the data will be put into a DB. The question is how do I do
    this without using 2 forms, It looks like you can not put a form with in a form. Yet it looks like
    that’s the only way to be able to pass the vars iEither to the page where were calculate the vars,
    or the other page where we submit the data to the DB. Thanks for the help,kvarnerex....

    1. Looking for submit, multiple, forms

Searching Video's for submit, multiple, forms
Similar
Multiple
Page Titles
- Multiple
Page Titles
Frontpage
Problem -
Strange
message when
press Submit
List Of Free
Directories
To Submit
Your
Websites
Php - Forms,
Date And
Include -
Working with
POST and GET
and also the
Date()
function
I Have
Install
Windows 2003
Server - I
want
multiple
user to
login my
server
Restrictions
On Php &
Forms? -
$_GET/P
OST/REQUEST?
I Have Some
Problem - I
want my pc
to connect
multiple pc
Multiple
Forum Skins
- To have,
or not to
have?
Php &
Forms
Question
Submit Your
Site To
Google - How
to make
google find
your site
Trying To
Run Multiple
Hard Drives
Open
Multiple
Website With
One Click -
Simple Bat
file that
opens all
your
favorite
sites in one
click
Start
Multiple
Programs
With One
Shortcut -
Windows XP
Adobe
Acrobat
Tutorials
Required -
Help with
getting
forms to
work.
Integrity
Checks
Failing
During
Multiple
Ajax Request
- somehow
the checks
fail due to
lag.
Post Forms -
How to make
a page with
posting
Dreamweaver
Forms - HELP
Question
About
Multiple
Voting Post
Or Get
Methods -
Multiple
voting post
or get
methods on 1
page
Multiple
Gmail
Accounts As
Free Online
Storage?
Dynamic
Signature -
Yet Another
Way To Do It
- Create
dynamic sigs
for multiple
users using
.htaccess
and
RewriteRule
Multiple
Hosting -
more than
one account
Testing
Multiple
Voting
Options -
Description
Multiple
Drop Down
Lists ? -
Multiple
drop down
lists to
take user to
new page
Stop Double
Post/submit
Getting
Information
From Submit
Button - I
need to grab
information
from a
submit
button.
Spice Up
Your Forms -
With a bit
of CSS and
HTML
alignment
Adding Data
To A
Database And
Displaying
It Later -
Using Forms,
PHP and
MySQL
Evilboard
(forum
Software) -
Multiple
Categorys -
Don't
Work :( - I
am creating
a forum and
i can't
fix more
then 1
category.
Multiple
Drop Down
Menus W/
Submit
Button
Forms With
In Forms?
advertisement



Submit Multiple Forms At Once



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE