Hi there Guys!
I've got a tricky form i need to create. I essentially am creating a pre registration form for multiple events. The form is exactly the same for each event. When i store the data from this form though i need to know which event they registered for.
My thought pattern here is as follows:
1. Have perhaps a drop down field that contains all the events.
2. On the event details page add an id or other identifier to the register button that passes through to the form and selects that event in the drop down field.
Is my logic correct here? If not is it doable in a different way?
I've got a tricky form i need to create. I essentially am creating a pre registration form for multiple events. The form is exactly the same for each event. When i store the data from this form though i need to know which event they registered for.
My thought pattern here is as follows:
1. Have perhaps a drop down field that contains all the events.
2. On the event details page add an id or other identifier to the register button that passes through to the form and selects that event in the drop down field.
Is my logic correct here? If not is it doable in a different way?
Hi woogygun,
That sounds OK - but you don't need 1) if the users will always arrive at the form having already selected an event.
Bob
That sounds OK - but you don't need 1) if the users will always arrive at the form having already selected an event.
Bob
Many thanks for the reply GH. Im actually though, looking for a way to do the above though.
Hi woogygun,
That will work if the drop-down has the same name as the parameter you pass from the other form then the event will be selected.
Bob
That will work if the drop-down has the same name as the parameter you pass from the other form then the event will be selected.
Bob
Hi there GH
Sorry to be a pain here. Im a bit our of my depth on this. How exactly would i pass it through?
Sorry to be a pain here. Im a bit our of my depth on this. How exactly would i pass it through?
Hi woogygun,
It depends what you have on the events details page. If you are using a link then include something like &event_id=xxx in the URL.
Bob
It depends what you have on the events details page. If you are using a link then include something like &event_id=xxx in the URL.
Bob
Hi there GreyHead
ok ive got a simple form up and ive got a button in an article linking through to it.
herewith the link to the article - http://41.86.104.77/~iirco/index.php/training/item/labour-law-basic-conditions-of-employment-act
you'll see a button that says REGISTRATION. That button links through to the form. If they click the REGISTRATION button what do i need to do to get it to auto select EVENT 3 for example
ok ive got a simple form up and ive got a button in an article linking through to it.
herewith the link to the article - http://41.86.104.77/~iirco/index.php/training/item/labour-law-basic-conditions-of-employment-act
you'll see a button that says REGISTRATION. That button links through to the form. If they click the REGISTRATION button what do i need to do to get it to auto select EVENT 3 for example
Hi woodygun,
First you need to change the name of the select drop-down to something other than 'event' say 'eventx' (please see this FAQ for the reason.)
Then add &eventx=event3 to the link on the Registration button and that should work OK.
Bob
First you need to change the name of the select drop-down to something other than 'event' say 'eventx' (please see this FAQ for the reason.)
Then add &eventx=event3 to the link on the Registration button and that should work OK.
index.php/component/chronoforms/?chronoform=registration&eventx=event3
Bob
This topic is locked and no more replies can be posted.