![]() |
ChatGPT 8/7/2025 |
To ensure that at least one of the six bit fields is selected before allowing the user to save the form in ASPRunner.NET, you can use client-side validation. Here's a general approach to achieve this:
Here’s a sample code snippet you can use in your ASPRunner.NET application:
|
M
|
MSchell author 8/14/2025 |
The AI stuff so far to me hasn't been any real help. Below is what I did that appears to work. if ((values["RelocationPerDiem"] == 0) && (values["RetroEffectiveDateGT60"] == 0) && (values["PosFilledOutsidePosting"] == 0) && (values["PlaceOnPaidAdminLeave"] == 0) && (values["Relocation"] == 0) && (values["PlaceOnUnpaidLeave"] == 0)) } |