You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tested the form on me localhost website. Everything works like a charm however, only when people want to upload the avatar it will not start opening the file upload window.
If i remove the javascript from JQuery step then it will work.
`<script type="text/javascript">
(function ($)
{
$(document).ready(function ()
{
var form = $("#djForm");
form.validate({
errorPlacement: function errorPlacement(error, element) { element.before(error); },
rules: {
confirm: {
equalTo: "#password"
}
}
});
form.children("div").steps({
headerTag: "h3",
bodyTag: "section",
transitionEffect: "slideLeft",
onStepChanging: function (event, currentIndex, newIndex)
{
// Allways allow step back to the previous step even if the current step is not valid!
if (currentIndex > newIndex)
{
return true;
}
form.validate().settings.ignore = ":disabled,:hidden";
return form.valid();
},
onFinishing: function (event, currentIndex)
{
form.validate().settings.ignore = ":disabled";
return form.valid();
},
onFinished: function (event, currentIndex)
{
alert("Submitted!");
}
});
});
})(jQuery);
</script>`
The text was updated successfully, but these errors were encountered:
Hello,
I have tested the form on me localhost website. Everything works like a charm however, only when people want to upload the avatar it will not start opening the file upload window.
If i remove the javascript from JQuery step then it will work.
`<script type="text/javascript">
(function ($)
{
$(document).ready(function ()
{
var form = $("#djForm");
form.validate({
errorPlacement: function errorPlacement(error, element) { element.before(error); },
rules: {
confirm: {
equalTo: "#password"
}
}
});
form.children("div").steps({
headerTag: "h3",
bodyTag: "section",
transitionEffect: "slideLeft",
onStepChanging: function (event, currentIndex, newIndex)
{
// Allways allow step back to the previous step even if the current step is not valid!
if (currentIndex > newIndex)
{
return true;
}
form.validate().settings.ignore = ":disabled,:hidden";
return form.valid();
},
onFinishing: function (event, currentIndex)
{
form.validate().settings.ignore = ":disabled";
return form.valid();
},
</script>`
The text was updated successfully, but these errors were encountered: