HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 14th, 2004, 08:25 AM
Prayer Prayer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: eastern PA
Posts: 8 Prayer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Prayer
Can I recycle entries in <form> ?

I have setup a <form> section and now want to "resuse" the contents of the inputs in another form in same login.php file. I have prefilled out the form Items but want to use the items that user changed to if (s)he did. After user has Logged or Registered in "right" frame he/she can click on "mydata" to review and or update their personal data stored in mysql on my host box. The value of fnam doesn't appear to survive the forms existance. Are the some global variables or something that will work ?

<pre>
<form method="post" ACTION="logon.php" target="right" >
<p><b>
First Name: <input type="text" name=fnam size="10" maxlength="20" value="Roger" /><br />
Last Name: <input type="text" name=lnam size="10" maxlength="20" value="Dodger"/><br />
PACS ID: <input type="text" name="pacsid" size="4" maxlength="4" value="1234" /><br /></b>
ZIP Code: <input type="text" name="zip" size="5" maxlength="9" value="19101" /><br /></b>
<!-- <input type="hidden" name="logon" value=1> -->
<input type="submit" name="logon" onsubmit=fixit() value="LOGON / Register" /></p>
</form>

else where in manage.php I want to have another <form> that refers to $fnam $lnam etc and have last values from the form above ?
</pre>

Reply With Quote
  #2  
Old June 15th, 2004, 09:38 AM
scrubs scrubs is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 42 scrubs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Do you want to send the results to manage.php which is in the "right" frame? If so, you have to set action="manage.php" instead of "login.php"

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > Can I recycle entries in <form> ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT