• Resolved Shani Deshwal

    (@shanideshwal)


    Hi, this is my code for the contact form:

    <div class="row">
    	<div class="col-md-12">
    		<h2>Step 1: Order Information</h2>
    	</div>
    	<div class="col-md-6 col-sm-12 col-xs-12"><p><label>Your Name*
    		[text* customer-name placeholder "Your Name" ]</label></p>
    	</div>
    	<div class="col-md-6 col-sm-12 col-xs-12"><p><label>Phone Number*
    		[text* phone-number placeholder "Contact Number" ]</label></p>
    	</div>
    </div>
    <div class="row">
    	<div class="col-md-12 col-sm-12 col-xs-12"><p><label>Select Your Mobile Brand*
    		[select* mobile-brand "-- Select Mobile Brand --" "Redmi" "Nokia" "Oppo" "Samsung" "Vivo" "OnePlus" "Honor" "Gionee" "Sony" "iPhone" "Asus" "HTC" "Lenovo"]</label></p>
    	</div>
    <!-- no touch till here -->
    
    <!-- redmi models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-redmi]<p>Select Redmi Model*[select* model-name "-- Select Model --" "Redmi A1" "Redmi 4" "POCO F1" "Redmi Note 7Pro" "Redmi Note 7" "Redmi 4 Prime" "Redmi Note 4" "Redmi 6A" "Redmi 6Pro" "Redmi 6" "Redmi Note 6Pro" "Redmi Note 6" "Redmi Note 3" "Redmi 5A" "Redmi 4A" "Redmi A2" "Redmi Y1" "Redmi Y1 Lite" "Redmi Y2" "Redmi Go" "Redmi 5" "Redmi Note 5" "Redmi Note 5Pro"]</p>[/group]
    	</div>
    <!-- redmi models end-->
    
    <!-- nokia models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-nokia]<p>Select Nokia Model*[select* model-name "-- Select Model --" "Nokia 6" "Nokia 4" "Nokia 5"]</p>[/group]
    	</div>
    <!-- nokia models end-->
    
    <!-- Oppo models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-oppo]<p>Select Oppo Model* [select* model-name "-- Select Model --"  "Oppo F1" "Oppo F1+" "Oppo F3" "Oppo F3+" "Oppo F1s" "Oppo F5" "Oppo F7" "Oppo F11" "Oppo F11 Pro" "Oppo A83" "Oppo A7" "Oppo A5" "Oppo C1" "Oppo A77" "Oppo A37" "Oppo A57" "Oppo A39" "Oppo A71" "Oppo A3S" "Oppo A31" "Oppo R17" "Oppo R17 Pro" "Oppo Find X" "Oppo F11" "Oppo F11 Pro"]</p>[/group]
    	</div>
    <!-- Oppo models end-->
    
    <!-- Samsung models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-samsung]<p>Select Samsung Model* [select* model-name "-- Select Model --" "Sumsung M20" "Sumsung M10" "Sumsung A30" "Sumsung A50" "Sumsung A8s" "Samsung A3(2017)" "Samsung A5 (2016)" "Samsung A5 (2015)" "Samsung A5 (2017)" "Samsung A6" "Samsung A6+" "Samsung J8" "Samsung A6 (2018)" "Samsung A7 (2017)" "Samsung A7 (2016)" "Samsung A7 (2015)" "Samsung A7 (2018)" "Samsung A8+" "Samsung A9" "Samsung A9 Pro" "Samsung A6s" "Samsung J8 (2018)" "Samsung On8 (2018)" "Samsung J7 Prime" "Samsung Prime 2" "Samsung on Nxt" "Samsung On8 (2016)" "Samsung J7 Pro (2017)" "Samsung J7 (2017)" "Samsung J7 Max" "Samsung J7 Duo" "Samsung J7 (2018)" "Samsung J7 Nxt (2015)" "Samsung J7 Plus" "Samsung J6 (2018)" "Samsung J5 (2017)" "Samsung J5 (2016)" "Samsung On5 (2016)" "Samsung J3 Prime" "Samsung J3 (2017)" "Samsung J2 Pro (2018)" "Samsung On 5 Pro" "Samsung On8 (2018)" "Samsung C9" "Samsung C9 Pro" "Samsung C7 Pro" "Samsung C5" "Samsung S9" "Samsung S9+" "Samsung Grand Prime" "Samsung Note 5" "Samsung Note 8" "Samsung Note 9"]</p>[/group]
    	</div>
    <!-- Samsung models end-->
    
    <!-- vivo models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-vivo]<p>Select Vivo Model*[select* model-name "-- Select Model --" "Vivo Y97" "Vivo Y93/95/91" "Vivo Y67" "Vivo Y85" "Vivo V5" "Vivo V9" "Vivo V11" "Vivo V11 Pro" "Vivo Y83/81 Finger print" "Vivo Y83" "Vivo V15 Pro" "Vivo V15" "Vivo V3" "Vivo Y53" "Vivo V1" "Vivo Y35" "Vivo V5+" "Vivo Y51L" "Vivo Y51" "Vivo V3 Max" "Vivo X21" "Vivo V7+" "Vivo Y69" "Vivo 21L" "Vivo Y71" "Vivo Nex A" "Vivo Y66" "Vivo V7" "Vivo Y31L" "Vivo 27L" "Vivo Y55" "Vivo Y55S"]</p>[/group]
    	</div>
    <!-- vivo models end-->
    
    <!-- Oneplus models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-oneplus]<p>Select Oneplus Model*[select* model-name "-- Select Model --" "Oneplus 3" "Oneplus 3T" "Oneplus 5" "Oneplus 5T" "Oneplus 6" "Oneplus 6T"]</p>[/group]
    	</div>
    <!-- oneplus models end-->
    
    <!-- Honor models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-Honor]<p>Select Honor Model*[select* model-name "-- Select Model --" "Honor 7A" "Honor 7c" "Honor 8" "Honor 9i" "Honor 8 Lite" "Honor Play" "Honor 8 Pro" "Honor Holly 4" "Honor Holly 3" "Honor 6x" "Honor 9N" "Honor 8X" "Honor 8C"]</p>[/group]
    	</div>
    <!-- Honor models end-->
    
    <!-- Gionee models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-gionee]<p>Select Gionee Model*[select* model-name "-- Select Model --" "Gionee A1" "Gionee S6" "Gionee S11 Lite" "Gionee F6"]</p>[/group]
    	</div>
    <!-- gionee models end-->
    
    <!-- Sony models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-sony]<p>Select Sony Model*[select* model-name "-- Select Model --" "Sony Xperia Z5" "Sony Xperia X" "Sony Xperia C3"]</p>[/group]
    	</div>
    <!-- sony models end-->
    
    <!-- iphone models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-iphone]<p>Select iPhone Model*[select* model-name "-- Select Model --" "iPhone 5" "iPhone 5s" "iPhone 6" "iPhone 6s" "iPhone 7" "iPhone 7+" "iPhone 8" "iPhone 8+" "iPhone X"]</p>[/group]
    	</div>
    <!-- iphone models end-->
    
    <!-- htc models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-htc]<p>Select Htc Model*[select* model-name "-- Select Model --" "Htc 820" "Htc 826"]</p>[/group]
    	</div>
    <!-- htc models end-->
    
    <!-- asus models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-asus]<p>Select Asus Model*[select* model-name "-- Select Model --" "Zenphone 3s Max" "Zenphone 3" "Zenphone 3 Max" "Asus m1" "Asus M2"]</p>[/group]
    	</div>
    <!-- asus models end-->
    
    <!-- lenovo models -->
    <div class="col-md-12 col-sm-12 col-xs-12">[group select-lenovo]<p>Select Lenovo Model*[select* model-name "-- Select Model --" "Lenovo K8 Plus" "Lenovo K5" "Lenovo K5 Note" "Lenovo A5" "Lenovo K8"]</p>[/group]
    	</div>
    <!--  lenovo end-->
    
    </div>
    <div class="row">
    	<div class="col-md-6 col-sm-12 col-xs-12">
    		<p><label>Upload Picture* </label>[file picture1 limit:2000000 filetypes:.jpg|.png|.jpeg|.gif]</p>
    	</div>
    	<div class="col-md-6 col-sm-12 col-xs-12">
    		<p><label>Upload Alternate Picture (optional) </label>[file picture2 limit:2000000 filetypes:.jpg|.png|.jpeg|.gif]</p>
    	</div>
    <div class="col-xs-12"><p><label>Any Comments (optional)
    		[textarea comments placeholder "Additional comments..."]</label></p>
    	</div>
    	<br>
    	<div class="col-xs-12">
    		[submit "Submit and Proceed to Step 2"]
    	</div>
    </div>

    and this is my email code:

    Name: [customer-name]
    Mobile Number: [phone-number]
    Mobile Brand: [mobile-brand]
    Model Name:   [select-redmi][model-name][/select-redmi]
    
    Any Comments: [comments]
    Picture: attached (if any)
    Picture 2: attached (if any)

    This code: [select-redmi][model-name][/select-redmi] is getting 1st option only everytime when I select Redmi option in Brand field. But not getting model name.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Not getting Data from Select box in Email’ is closed to new replies.