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
{{ message }}
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.
Strange issue that none of the select elements in my wizard will validate using the "data-validation" tag. I have also tried manually validating the select element using the errorPopover method which does actually create the message, but the "top" and "left" potions of the class are set to 0px thus it appears in the upper left corner of my wizard. Snippet:
js:
if (wizard.getActiveCard() === wizard.cards["card1"]) {
if ($('#organizationName').val() === null || $('#organizationName').val() === undefined || $('#organizationName').val() === '') {
wizard.errorPopover($('#organizationName'), "Please select an organization", true);
}
}
I know that the validation is run through before navigation, but since the "data-validation" did not stop it, I was attempting to insert something in the "incrementCard" function. Of course that might not be the best solution.
Any feed back would be appreciated.
Cheers
The text was updated successfully, but these errors were encountered:
Strange issue that none of the select elements in my wizard will validate using the "data-validation" tag. I have also tried manually validating the select element using the errorPopover method which does actually create the message, but the "top" and "left" potions of the class are set to 0px thus it appears in the upper left corner of my wizard. Snippet:
<div class="form-group">
<label for="organizationName">Organization</label>
<select class="form-control" id="organizationName" onchange="setOrganization();" data-validation="validateOrganizationName"></select>
<input type="hidden" id="selectedOrganizationId" />
</div>
js:$('#organizationName').val() === null || $ ('#organizationName').val() === undefined || $('#organizationName').val() === '') {
if (wizard.getActiveCard() === wizard.cards["card1"]) {
if (
wizard.errorPopover($('#organizationName'), "Please select an organization", true);
}
}
I know that the validation is run through before navigation, but since the "data-validation" did not stop it, I was attempting to insert something in the "incrementCard" function. Of course that might not be the best solution.
Any feed back would be appreciated.
Cheers
The text was updated successfully, but these errors were encountered: