Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/28/2023 01:58 AM
Hi,
do you know how to set a default value for a checkbox dynamic attribute as False?
I have created a new dynamic attribute with the type "checkbox" and by default on the form it is "checked". How to make it unchecked by default?
I was trying to assign default as 0, false and False but it doesn't work
Solved! Go to Solution.
07/03/2023 12:39 AM - edited 07/03/2023 12:39 AM
Thank you for reaching out to the Saviynt forums. We are currently investigating your issue and would appreciate your assistance in providing some additional details.Could you please specify the Saviynt version in which you are encountering this problem?Furthermore, if you could kindly share the specific use case and steps required to replicate the issue.Thank you for your cooperation and patience as we work towards resolving the issue.
07/03/2023 01:38 AM
Hi,
thanks for checking it out!
Our use case is to include several custom consents in the User Register form, where users can provide their consent by checking a checkbox. It is important to ensure that the consent checkboxes are initially unchecked by default and mandatory. This is necessary to ensure that users actively engage with the agreement statement and make an informed decision before giving their consent. Without this default state, the inclusion of these checkboxes would lose its intended purpose.
To replicate the case, follow the steps:
1. Create a dynamic attribute with the type "checkbox"
2. Set a default value for the dynamic attribute as false
3. Open a "Create user form"
4. The new attribute should not "checked" initially
07/04/2023 01:59 AM
Thank you for providing the update.We acknowledge your query and assure you that our team is actively investigating the matter. We understand the importance of addressing your concerns promptly, and we are committed to providing you with a comprehensive update as soon as possible.
07/04/2023 02:35 AM
Hi Olesia,
To have new attribute checkbox without checked initial. Do the following.
Then you will see in form the check box is unchecked initially. Refer below screen shots for your reference.
Thanks
Kishore
07/04/2023 10:16 PM
Hi,
thank you, kishorekumarmb for your reply, I was able to achieve the needed!
07/04/2023 12:33 PM
In order to use default values , you should have same value in values section
07/04/2023 10:05 PM
The customer dont want to use default value.They want check box to be unchecked.so deafault value should be balnk.