I need to be able to retrieve Calendar event titles and pass them along to formbuilder.
The user reads a event and can choose "Register for this event" and be taken to a form that is populated with some of the details like event title and date where they fill out name etc and it sends an email with user info as well as event details.
Also a "register page" which will list all the event titles and dates (as in the below code) so that the user can select multiple choices and have that info emailed.
working so far (testing with generic php mail form) I have:
Code: Select all
<form method="post" action="lib/mailer.php">
Name: <input name="name" size="19" type="text" /><br /> <br />
E-Mail: <input name="email" size="19" type="text" /><br /> <br />
{capture assign='tmp'}
{cms_module module="Calendar" display='list"}
{/capture}
{foreach from=$events key=key item=event}
<input name="course_list[]" value="{$event.event_title}" type="checkbox" />{$event.event_title} <br />
{/foreach}
<br />
Message:<br /> <textarea rows="9" name="message" cols="30"></textarea><br /> <br />
<input value="Submit" name="submit" type="submit" /></form>
http://www.uidds.com/index.php?page=submenu
and the above will send an email with the username,email and course titles (event titles)
but I would really much rather use Formbuilder.
the events calendar will end up looking like:
http://www.vicdds.ca/activities/category/upcoming/
and the register page like:
http://www.vicdds.ca/registration.php
If someone can do this with formbuilder,I'm willing to pay $100 -> $150