Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can I do this????

New Here ,
Oct 15, 2006 Oct 15, 2006
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
TOPICS
Server side applications
252
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 16, 2006 Oct 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
>
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 16, 2006 Oct 16, 2006
LATEST
No that makes perfect sense....hey thanks

B
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines