step back to error
-
Hey man!
If I enter a char instead of int in my tel* form and then go to my 3rd step (for exemple) to submit, I have the validation error message but it doesn’t go back to the step where the error occurredI took a look in js (I don’t know much about js…) but I can see there is a code that is suppose to take care of that
line 43 : // step back to error.
here is my form
[step s=”1″ title=”Contact Details”]
<div class=”row”>
<div class=”col-md-6″>
<div class=”form-group”>
[text* your-firstname id:contact-email-feed class:form-control placeholder “First Name *”]
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
[text* your-lastname id:contact-email-feed class:form-control placeholder “Last Name *”]
</div>
</div><div class=”col-md-6″>
<div class=”form-group”>
[text* your-title id:contact-email-feed class:form-control placeholder “Title *”]
</div>
</div><div class=”col-md-6″>
<div class=”form-group”>
[tel* your-phone id:contact-email-feed class:form-control placeholder “Phone *”]
</div>
</div><div class=”col-md-6″>
<div class=”form-group”>
[tel* your-fax id:contact-email-feed class:form-control placeholder “Fax *”]
</div>
</div><div class=”col-md-6″>
<div class=”form-group”>
[email* your-email id:contact-email-feed class:form-control placeholder “Email *”]
</div>
</div>
</div>[nextbutton]
[/step][step s=”2″ title=”Business Information”]
<div class=”row”>
<div class=”col-md-6″>
<div class=”form-group”>
[text* your-busiaddress id:contact-email-feed class:form-control placeholder “Street Address *”]
</div>
</div><div class=”col-md-6″>
<div class=”form-group”>
[text* your-city id:contact-email-feed class:form-control placeholder “City *”]
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
[text* your-zip id:contact-subject-feed class:form-control placeholder “Zip Code *”]
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
[text* your-country id:contact-subject-feed class:form-control placeholder “Country *”]
</div>
</div>
<div class=”col-md-12″>
<div class=”form-group”>
[text* your-company id:contact-subject-feed class:form-control placeholder “Company name *”]
</div>
</div>
<div class=”col-md-6″>
</br>
</div>
<div class=”col-md-6″>
</br>
</div>
<div class=”col-md-6″>
<p>WEBSITES</p>
</div><div class=”col-md-12″>
<div class=”form-group”>
[url* your-companyurl id:contact-subject-feed class:form-control placeholder “Company URL *”]
</div>
</div>
<div class=”col-md-12″>
<div class=”form-group”>
[url* your-eshopurl id:contact-subject-feed class:form-control placeholder “E-Shop URL *”]
</div>
</div><div class=”col-md-12″>
<div class=”form-group”>
[backbutton ][nextbutton]
</div>
</div>
</div>
[/step]
[step s=”3″ title=”Company Background”]<div class=”row”>
<div class=”col-md-6″>
<div class=”form-group”>
[text* your-busitype id:contact-email-feed class:form-control placeholder “Business Type *”]
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
[text* your-yearinbusi id:contact-email-feed class:form-control placeholder “Years in Business *”]
</div>
</div><div class=”col-md-6″>
<div class=”form-group”>
[text* your-numstore id:contact-email-feed class:form-control placeholder “Number of Stores *”]
</div>
</div>
<div class=”col-md-6″>
<div class=”form-group”>
[text* your-numemployee id:contact-email-feed class:form-control placeholder “Number of Employee *”]
</div>
</div><div class=”col-md-12″>
<div class=”form-group”>
[backbutton ][nextbutton]
</div>
</div></div>
[/step][step s=”4″ title=”Product Info”]
<div class=”row”>
<div class=”col-md-12″>
<div class=”form-group”>
<p><u>WHAT COLDKEEPERS PRODUCTS DO YOU INTEND TO SELL? </u></p>
[checkbox* productline id:cbox “Generic Thermal Bags” “Pouches” “Custom Manufacturing” “Plain Bags” “Shipping Solutions”]
</div>
</div><div class=”col-md-12″>
<div class=”form-group”>
[text* your-continentsell id:contact-subject-feed class:form-control placeholder “On which Continent do you intend to sell our products? *”]
</div>
</div>
<div class=”col-md-12″>
<div class=”form-group”>
[text* your-countryregionsell id:contact-subject-feed class:form-control placeholder “Could you precise the Country/Region *”]
</div>
</div><div class=”col-md-12″>
<div class=”form-group”>
[backbutton ][submit class:btn class:btn-primary class:btn-lg “Submit”]
</div>
</div></div>
[/step]
- The topic ‘step back to error’ is closed to new replies.