GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 28-Apr-2004, 07:08
Rebus Rebus is offline
New Member
 
Join Date: Apr 2004
Posts: 5
Rebus is on a distinguished road

Need help with submitting forms


Hi, 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  
Old 28-Apr-2004, 08:24
dsmith's Avatar
dsmith dsmith is offline
Senior Member
 
Join Date: Jan 2004
Location: Utah, USA
Posts: 1,351
dsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of light
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  
Old 28-Apr-2004, 08:44
Rebus Rebus is offline
New Member
 
Join Date: Apr 2004
Posts: 5
Rebus is on a distinguished road
Quote:
Originally Posted by dsmith
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

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  
Old 28-Apr-2004, 09:31
Rebus Rebus is offline
New Member
 
Join Date: Apr 2004
Posts: 5
Rebus is on a distinguished road
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  
Old 18-Jul-2008, 15:03
Howard_L Howard_L is offline
Regular Member
 
Join Date: Apr 2007
Location: Maryland/PA, USA
Posts: 846
Howard_L is a jewel in the roughHoward_L is a jewel in the roughHoward_L is a jewel in the rough

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 GIDBlogProblems with the Navy (Enlisted) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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 07:26
New forums, new moderator for GIDForums admin GIDForums™ 1 27-Nov-2003 09:30
premade forums and other premade php programs invaderz MySQL / PHP Forum 1 06-Jul-2003 02:10
FREE ASP forums / bulletin boards JdS Web Design Forum 0 06-May-2002 04:38

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:12.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.