Question
Jk Technosoft
IN
Last activity: 25 Jul 2019 1:22 EDT
The check box should be disable once it already checked.
Hello All,
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,
Bharath
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Hi Bharath,
1. Have a when rule using isinpagelist funtion to check if primarynumber is selected in the source pagelist of grid.
2. Configure above when rule to disable Next button and primary number property conditionally.
Regards,
Sushma
Pegasystems Inc.
US
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?
Related: https://collaborate.pega.com/question/if-one-check-box-marked-other-check-box-should-be-disabled-select-check-box-marked-case
Jk Technosoft
IN
Hello Rett_Hean_GCS,
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.
Regards,
Bharath
Pegasystems Inc.
US
Can you mock up this requirement using an annotated screenshots? It is hard for me to follow this.
Jk Technosoft
IN
I would appreciate if i get assistance from any of you
Thanks,
Bharath
Accepted Solution
Pegasystems Inc.
IN
Hi Bharath,
1. Have a when rule using isinpagelist funtion to check if primarynumber is selected in the source pagelist of grid.
2. Configure above when rule to disable Next button and primary number property conditionally.
Regards,
Sushma
Jk Technosoft
IN
Hi Sushma,
Thanks for your reply. I have tried using isinpagelist function but it is not working. Is it works if we use Inline Edit?
Regards,
Bharath
-
Grace Pieri Ashleigh Wan Bhavini Jain Milena Ferraro Manikandan Palanisamy and 5 More
Jk Technosoft
IN