I have a bool value for which I cannot use default validation at Model stage because in one form it can be false but in another it has to be true. I want that if is true to allow post if not, not
- class="col-md-4 text-center">
- ="form-control text-white pl-2" style="background-color:firebrick;"> Equipment Available?
class="d-flex justify-content-center mt-3">- for="WOPlanner.ToolsAvailable" type="checkbox" data-width="200" data-toggle="toggle" data-on="Yes" data-off="No" data-onstyle="success" data-offstyle="primary" value="@Model.WOPlanner.ToolsAvailable"/>
- class="row no-gutters border border-0 ">class="col-md-3 mt-2">
- asp-route-womainid="@Model.WOMainID" class="col-md-12 btn btn-link font-weight-bold" style="border-color:firebrick; background-color:lightgray; color:firebrick" type="submit">Submit


Kiran MohantyRank #821 · 2.8K reputationPosted Mar 5, 2021, 4:20 AM EST
Marius VasileRank #785 · 2.9K reputationPosted Mar 5, 2021, 6:09 AM EST
Marius VasileRank #785 · 2.9K reputationPosted Mar 5, 2021, 7:09 AM EST
Marius VasileRank #785 · 2.9K reputationPosted Mar 5, 2021, 7:17 AM EST
Kiran MohantyRank #821 · 2.8K reputationPosted Mar 5, 2021, 7:17 AM EST
Marius VasileRank #785 · 2.9K reputationPosted Mar 5, 2021, 7:19 AM EST
Kiran MohantyRank #821 · 2.8K reputationPosted Mar 5, 2021, 7:28 AM EST
Marius VasileRank #785 · 2.9K reputationPosted Mar 5, 2021, 7:32 AM EST
Kiran MohantyRank #821 · 2.8K reputationPosted Mar 5, 2021, 7:48 AM EST
Marius VasileRank #785 · 2.9K reputationPosted Mar 5, 2021, 7:50 AM EST
Kiran MohantyRank #821 · 2.8K reputationPosted Mar 5, 2021, 8:11 AM EST
Marius VasileRank #785 · 2.9K reputationPosted Mar 5, 2021, 8:34 AM EST
Marius VasileRank #785 · 2.9K reputationPosted Mar 5, 2021, 8:58 AM EST