Open aalhinai opened 6 years ago
Do you have a live example ? Plunkr maybe?
Vincent Gabriel Software Engineer
Please excuse my brevity, sent from my iPhone
On Nov 6, 2017, at 03:20, aalhinai notifications@github.com wrote:
I posted my question in different website last week , but i got no answer, so i decided to post it here directly. I used the Twitter Bootstrap Wizard on this link http://vinceg.github.io/twitter-bootstrap-wizard/examples/basic-custombuttonsfirstlast.html
Its working as i need on my appliaction, the problem that when any validation error exist while submission the form, the Twitter Bootstrap Wizard features disappear, Precisely, the Tabs color disappear and all buttons no more clickable !!
Any suggestions from experts here ? Thanks in advance.
This How it working before Validation Message:
This How it look like after validation:
This the view in cshtml format: `@model BrojectName.Models.Inv
@{ ViewBag.Title = "My View"; }
@using(Html.BeginForm()) { @Html.AntiForgeryToken()
}` This is the java-script part: $(document).ready(function () { $('#wizard').bootstrapWizard({ 'nextSelector': '.button-next', 'previousSelector': '.button-previous', 'firstSelector': '.button-first', 'lastSelector': '.button-last' }); }); — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.< h4 > Title h4 > < hr /> @Html.ValidationSummary(true, "", new { @class = "text-danger" })
..............................< input type='button' class='btn button-next' name='next' value='Next' />< input type='button' class='btn button-first' name='first' value='First' />@Html.ActionLink("Back to List", "Index", null, new { @class = "btn btn-default " })
unfortunately, i don't have live demo, i tried to put the example in both jsfiddle vs Plunker, but it not display as needed, i thing i need to tweak it to show you and this may take time, do you have another fastest option?
I posted my question in different website last week , but i got no answer, so i decided to post it here directly. I used the Twitter Bootstrap Wizard on this link http://vinceg.github.io/twitter-bootstrap-wizard/examples/basic-custombuttonsfirstlast.html
Its working as i need on my appliaction, the problem that when any validation error exist while submission the form, the Twitter Bootstrap Wizard features disappear, Precisely, the Tabs color disappear and all buttons no more clickable !!
Any suggestions from experts here ? Thanks in advance.
This How it working before Validation Message:
This How it look like after validation:
This the view in cshtml format: `@model BrojectName.Models.Inv
@{ ViewBag.Title = "My View"; }
@using(Html.BeginForm()) { @Html.AntiForgeryToken()
}`
This is the java-script part:
$(document).ready(function () { $('#wizard').bootstrapWizard({ 'nextSelector': '.button-next', 'previousSelector': '.button-previous', 'firstSelector': '.button-first', 'lastSelector': '.button-last' }); });