Toggle button on the form

harshaa0567
Tera Contributor

Hi,

I have a requirement to create a toggle/slider button in the form.I need to achieve the same view on form. when the button is on then the date should be editable else no. This should be achieved in Native view not on portal. Thanks in advance!
WhatsApp Image 2024-09-18 at 16.15.52.jpeg

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @harshaa0567 

 

Better use UI policy, the toggle button will increase the technical debt.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi Atul,

Thanks for your response. But as per the requirement it is mandate to have a toggle button.

Hi @harshaa0567 

 

Client demands a lot, it we as SN experts need to guide what is right and wrong. To do the toggle part you need to do the customization, which can create problems at upgrade time. So consider this.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************