/    Sign up×
Community /Pin to ProfileBookmark

Advanced Form

I am relatively new to web development. I know how to create a form and have the information sent to my email, but I now need to create a form that requires a little bit more.

I am setting up a form where people sign up to record a book on tape. I have created a drop down list of books. However, I need the books to be deleted off the list once they have been selected, so that multiple students do not select the same book.

Also, instead of just receiving individual emails with students names, times they are going to record, and book they are recording, I want the information to populate into a list I can print off. How do you do this?

Thanks!

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@kuroiMar 09.2006 — This would normally be done by using a server side script (e.g. in php or ASP) to generate the drop down menu and handle the responses. You would hold your list of books in a database or a file and populate the drop down list from it each time the page is called. When you get a response your script would either mark the book as chosen or delete it from your databse or file so that the next time the page is called and therefore the drop down list is generated, the book is excluded.

It's pretty simple in theory, though in practise you may still want to consider how to handle exceptional cases such as two people accessing the page simultaneously and choosing the same book.
Copy linkTweet thisAlerts:
@dsrt16authorMar 09.2006 — So I would have to go in and delete it myself?? Isn't there a way that it will just automatically delete after being selected?
Copy linkTweet thisAlerts:
@the_treeMar 09.2006 — 'course, practically any server-side language can do that.
Copy linkTweet thisAlerts:
@dsrt16authorMar 09.2006 — Great! How? I only know html and a little css. I am not familiar with server-side language. I need to know EXACTLY how I can go about creating a list whose options delete upon selection.

Also, I don't know how to generate the list of people who sign up as a whole. I only know how to send each individual submition to my email. But that would make it a lot more difficult, then just printing or recieveing a list of everyone who signed up and what book they signed up for. Can anyone tell me exactly how, or direct me to a site that will aid me in this process?
Copy linkTweet thisAlerts:
@ray326Mar 10.2006 — Given we know nothing of your server side architecture, I'll recommend the most commonly available solution, PHP for the code and MySQL for the data store. There are a number of books on creating dynamic web sites with that pair of tools.
×

Success!

Help @dsrt16 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...