The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Guest list help, Webforms, times, and redirects
innes159
post May 21 2012, 09:59 AM
Post #1





Group: Members
Posts: 2
Joined: 21-May 12
Member No.: 17,143



Basically I'm administrating a website for a club an they want a guest list. So I've done a webform which is all fine and works etc. but I wanna restrict the window where you can add your details. Eg I want the guest list to open on Thursday at 7am an close at 5pm on Saturday. Is there a way I can restrict a webform to
This? Or redirect the web page to another page saying guest list closed on other days? Any help or advice
Will be appreciated

Thanks in advance

If need to know, it's being hosted on Linux server cpanel. And I administer using expression web 4
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post May 21 2012, 10:52 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



The server-side (e.g., CGI, PHP) program that processes the form data needs to reject form submissions between 5pm Saturday and 7am the following Thursday.

You could also use a server-side program to generate the form itself, and send an actual form only between 7am Thursday and 5pm the following Saturday.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
innes159
post May 22 2012, 03:00 AM
Post #3





Group: Members
Posts: 2
Joined: 21-May 12
Member No.: 17,143



QUOTE(Darin McGrew @ May 21 2012, 10:52 PM) *

The server-side (e.g., CGI, PHP) program that processes the form data needs to reject form submissions between 5pm Saturday and 7am the following Thursday.

You could also use a server-side program to generate the form itself, and send an actual form only between 7am Thursday and 5pm the following Saturday.


Sorry I should have explained that my knowledge of server side programming is basic. Any advice on how I could do this?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post May 23 2012, 08:14 AM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



What kind of server-side programming can you use on your server? See also:
http://www.htmlhelp.com/faq/html/docs.html#about-cgi
and the FAQ entry that follows it.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 10:58 AM