have had a really good look at this over the last few days.
Really would like to send things like {EventName} {EventDescription}{LocationAddress}, {LocationCity} through the rsform custom form
The email would go to the event creator without having to create a custom event registration form for every event!!!
Currently without saving these values across to the rsform pro table you cant email them to anyone.
So how do you move them?
Trying the following code in the 'Default Value' of a hidden field without much success.
I have no idea formatting php so if anyone can quickly alter this. thanks for sharing.
The number of the event sits in the url and seems to be the only place in the page that references it.
ie. "xxxx.com/seminars/event-subscribe/
7-workshop"
and you can see im trying to just get one value "EventMetaDescription" which i can get the publisher to fill out when they create an event.
//<code>
$EventIdNumber = $_GET['cid'];
$db = JFactory::getDBO();
$db->setQuery("SELECT ‘EventMetaDescription’ FROM ‘jos_rsevents_events’ WHERE ‘IdEvent’ = $EventIdNumber limit 1");
$result = $db->loadResult();
return $result;
//</code>