Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How do I get checkbox values from contact form
 
modir
Jr. Member
 
Avatar
Total Posts:  18
Joined:  2010-02-01
Zurich, Switzerland
 

I extended the contact form with some new fields. Extending it with more text strings is no problem at all. But now I would like to add checkboxes as well.

Now I don’t know how to get the values of the submitted values.

I already tried all those but the do not work:

{{var data.getCheckboxname()}}
{{var data
.checkboxname}}
{{var data
.checkboxname[]}}

Can someone enlighten me about the correct way to get those information?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top