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

getting the select menu value from contact form
 
anatalsceo
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2008-04-03
 

Hello,
I’ve hadded a select menu in the contact form bur i’m unable to get the value send by email.

Here is my contact form code

<div class="input-box">
                    <
label for="choix"><?php echo Mage::helper('contacts')->__('You are'?> <span class="required">*</span></label><br />
                    <
SELECT name="choix_personne" id="choix_personne" >
                <
OPTION >Votre Choix</OPTION>           
                        <
OPTION value="particulier">Un particulier</OPTION
                        <
OPTION value="prof">Un professionnel</OPTION>
                <
OPTION value="instit">Un institutionnel</OPTION
              </
SELECT>
</
div>
here is my transactionnal email
type de demandeur {{var data.choix_personne}}

I thought that when adding a label on the contact form, the way to get was to get the data.id value.

Can someone help ?

regards,

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