![]() |
|
#1
|
|||
|
|||
Need help with submitting formsHi, I need to submit information from one frame to another using forms. I'm not sure how to code the script for this.. Can somebody help ?
Below is the code from the first frame.. can someone help with the submit and script code... :/ What would be bes to use. vbscript? javascript? <form method="post" name="testform" action="/test_process.php"> <p>Integer numeric range 1 to 100: <input name= range size=8> <p>Real numeric : <Input Name=age size=2> <p>Alphabetic only : <input Name= Alpha size=8> <p> Integer numeric followed by @@ followed by alphabetic : <input @@ size= 10> <p><input type=submit> <input type = reset> </form> |
|||
|
#2
|
||||
|
||||
|
Hi Rebus. According to your html code, you are going to send the information to a php script(test_process.php), wherein you will need to extract the information and then process. Have you written test_process.php or is that where you are stuck? I am not completely familiar with php, but from what I have seen, you should be able to do whater you need in php.
I do more of a CGI approach using C programs to process the forms. This is more complicated if you are not familiar with C, but if you are familiar with C there are some decent CGI scripting routines out there (including mine!). Also, PERL is a very popular way of handling CGI scripts. If this is something that you want to do with PHP, you should search the PHP forum here. HTH, d |
|
#3
|
|||
|
|||
|
Quote:
I'm not sure if I want to use php to be honest. I would prefer to use javascript but again don't really know how... I'll continue searching for online tutorials or something.. All I want to do is submit the data to another frame to start with then ill work in validation |
|
#4
|
|||
|
|||
|
So anyone know what I need to do so when "Onclick" the data moves from frame to frame to other form or table? using this data for e.g.
<FORM> TEST0 <INPUT TYPE="text" NAME="Quest1" SIZE=15 > <br> TEST1 <INPUT TYPE="text" NAME="Quest2" SIZE=15 > <br> TEST2 <INPUT TYPE="text" NAME="Quest3" SIZE=15 > <br> TEST3 <INPUT TYPE="text" NAME="Quest4" SIZE=15 > <br> <INPUT TYPE="button" VALUE="?" onClick="??(this.form)"> <BR> |
|
#5
|
|||
|
|||
Re: Need help with submiting forums :(Try to understand that your frames load pages from the server right?
So the page on the server will need to be changed right? Well then changes to the page will need to occur on the "server side". That can be done by C, php, perl, ruby, etc. JS will only work within the browser. That being said, I know that JS data like values and functions can be accessed from one frame by another via OO things like: window.parent.frame_x.reload(); So maybe something can be done there without going back to the server... like textboxes with names and values. I know of one page that does that within itself. Seems like that might be able to be done across frames using JS... and 'onchange=blah(), onclick=(blah), etc. food for thought... something for a rainy day. |
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The forums I created is not shown !! | M_Ghani | Free Web Hosting | 2 | 13-Mar-2004 08:26 |
| New forums, new moderator for GIDForums | admin | GIDForums™ | 1 | 27-Nov-2003 10:30 |
| premade forums and other premade php programs | invaderz | MySQL / PHP Forum | 1 | 06-Jul-2003 03:10 |
| FREE ASP forums / bulletin boards | JdS | Web Design Forum | 0 | 06-May-2002 05:38 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The