Posted: 20 Mar 2018 8:23 EDT Last activity: 25 Jul 2019 1:22 EDT
The check box should be disable once it already checked.
I have a Query that, I need to add phone numbers to the table with Inline edit. It should have only one primary number. We can select primary number from Check box. If once it checked it should be disabled for the other phone numbers.
The table should also have one primary phone number atleast.
Thanks in Advance,
***Updated by moderator: Lochan to add Categories***
Maybe a radio button is a better choice for this requirement. It would satisfy only allowing one selection. And you can easily mark it required.
Plus it would account for, the scenario if the user wants to change their mind. How else do you imagine the checkbox scenario would account for that use case? If everything is disabled once a selection is made, are you not allowed to change your mind?
I need to select the type of phone number, enter the phone number and can select it as primary phone from check box in my table. If i check it for once in one entry then it shouldn't allow me to give primary for next entries but i can add any number of entries to the table.
Secondly, Before clicking the next the Phone table should have atleast one Primary Phone.
I must use checkbox in this scenario
BTW the link you provided has different scenario.I already went through that. It didn't satisfy my condition.