I'm using formbuilder 0.8.1 and cms ms 1.12.
The radio buttons are people who should receive a mail when a visitor chooses him or her. You can see what I mean: http://acgen.nodale.nl/index.php?page=formtest. Under Ambassadeur there are four names and behind each name should be a mailadres and not a value.
My knowledge of smarty is just about nothing.
If someone would be kind to find a solution would be wunderfull.
Using radiobuttons as mailadres [solved]
Using radiobuttons as mailadres [solved]
Last edited by babel on Thu Oct 22, 2015 7:32 pm, edited 1 time in total.
Re: Using radiobuttons as mailadres
Then name the fields like you want them to be displayed on the front end. I just suspect that the email addresses are not available in the template. But I could be wrong.
It would need only a little smarty knowledge to find that out. Perhaps something like: {$field|print_r} inside some foreach loop in the Form template.
It would need only a little smarty knowledge to find that out. Perhaps something like: {$field|print_r} inside some foreach loop in the Form template.
Re: Using radiobuttons as mailadres
Thanks for the reply, but I don't know how to make the foreach loop with smarty. So any help would be welcome. Because I also need the foreach loop for images.
Re: Using radiobuttons as mailadres
http://www.smarty.net/docs/en/language. ... oreach.tplbabel wrote:Thanks for the reply, but I don't know how to make the foreach loop with smarty. So any help would be welcome. Because I also need the foreach loop for images.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!


