Skip to main content
Participant
October 15, 2006
Question

How can I do this????

  • October 15, 2006
  • 2 replies
  • 252 views
I am developing a ASP VB based website for a promotion group....What I need to do is on the admin side and a tick box to make features of the site active when the group is ready to open registration for an event. Or How can I use a time trigger display all the needed info.

So you goto the site and it is say 1 month before the event. I want to display just basic info. about the event but no registration info. to register and submit it. But then give the admin the ability to go in went they are ready and open the registration so it will display it on the page so people can register.

Hope that this makes sense..

thanks

B
This topic has been closed for replies.

2 replies

Dogger35Author
Participant
October 16, 2006
No that makes perfect sense....hey thanks

B
Inspiring
October 16, 2006
Hi Dogger,

You could create a page which contained both basic information and
registration information, like so:

<basic information>
<registration information>

...and then hide any part depending on the "state" of a field in a recordset
on the same page.
To explain, if you have your event information held in a database, then you
could simply add a yes/no field to the event data table.

eventID
nameofevent
dateofevent
availableforregistration (Yes/No)

If someone is looking at an event's page, you would then do this:

<%IF (EventRecordset.Fields.Item("availableforregistration").Value) = 0
Then%>
<basic information>
<%ELSE%>
<basic information>
<registration information>
<%End IF%>

If you wanted to make it date triggered, then you would just change the
Yes/No field to be a date field and then do something like this:

<%IF (EventRecordset.Fields.Item("availableforregistration").Value) < Date()
Then%>
<basic information>
<%ELSE%>
<basic information>
<registration information>
<%End IF%>

I hope this makes sense. It's a bit hard to summarise in one post. If you
need more detailed information, just ask.

Regards
Nath.

"Dogger35" <webforumsuser@macromedia.com> wrote in message
news:eguhb4$5vl$1@forums.macromedia.com...
>I am developing a ASP VB based website for a promotion group....What I need
>to
> do is on the admin side and a tick box to make features of the site active
> when
> the group is ready to open registration for an event. Or How can I use a
> time
> trigger display all the needed info.
>
> So you goto the site and it is say 1 month before the event. I want to
> display
> just basic info. about the event but no registration info. to register and
> submit it. But then give the admin the ability to go in went they are
> ready and
> open the registration so it will display it on the page so people can
> register.
>
> Hope that this makes sense..
>
> thanks
>
> B
>
>