By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,063 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

How to hide a form for good after anybody submits it

P: 6
I just want a form to be used once, and after it has been submitted i would like it to go away. any ideas?
Sep 13 '06 #1
Share this Question
Share on Google+
6 Replies


Banfa
Expert Mod 5K+
P: 8,916
submit it to a different page to the one it is on
Sep 13 '06 #2

P: 6
How? please i am new at this
Sep 14 '06 #3

Banfa
Expert Mod 5K+
P: 8,916
Sorry, in the form the action attribute defines which page the form will be submitted to so just make it a page other than the current one (the same as an href for a link)

see

http://www.w3schools.com/tags/tag_form.asp
Sep 14 '06 #4

P: 6
Sorry, in the form the action attribute defines which page the form will be submitted to so just make it a page other than the current one (the same as an href for a link)

see

http://www.w3schools.com/tags/tag_form.asp

<form name="Picks" method="post"
action="http://pub22.bravenet.com/emailfwd/senddata.php">

this is the only thing that contains an url in the form. The rest of the form is text fields. If i change this url then the info wont be processed. Thanks so much for your help
Sep 14 '06 #5

Banfa
Expert Mod 5K+
P: 8,916
If i change this url then the info wont be processed.
Sorry didn't realise you where using a third party processor for your forms, I guess you're stuck unless bravenet provide a way for you to do what you want (may be a redirection to another page on your site but I have never used them so I wouldn't know).
Sep 15 '06 #6

P: 6
I can re-direct but it doesn't eliminate the form. I can also not use bravenet. I can't quite use a database yet, im still learning. I would love; however to get rid of a form once it has been filled out. I have a fun website that my buddies and i use. The purpose is to play basketball and I need to know what time to meet them, not all at once but they select a time to let me know when to unlock the gym. But once someone selects one time i would like that time to become unavailble. I thought, to avoid a database (since i don't know enough), that the easiest way is to delete a form once it's submitted. The idea is that i make a form for every time slot. I didn't know it would be so complex. I apologize but it would make my life a lot easier if i could accomplish this task.
Sep 15 '06 #7

Post your reply

Sign in to post your reply or Sign up for a free account.