Oct 05 2017 11:36 PM - edited Oct 05 2017 11:36 PM
Hi ,
I am working on SharePoint online with Modern UI, i just want to add some javascript in one of my List forms to add some custom validation, as we earlier do in classic UI we can add the CEWP with custom JS link, but what we can do in modern UI ? If i return to classic view and add custom JS then again back to modern UI that javascript is not working
Oct 05 2017 11:46 PM
Oct 05 2017 11:56 PM
SPFX extension is not released yet also it would be common for all the pages not specifically for NewForm.aspx and EditForm.aspx, do i need to put URL specific condition ?
Oct 06 2017 12:04 AM
Oct 06 2017 07:44 AM
Oct 08 2017 09:49 PM
Thanks Juan, i have also checked that extensions are out of preview,
and i want to put some validation on multiple fields like i want to disable one textfield based on another dropdown similar javascript validation, i am curious to know how we can do that using JSON
Mar 21 2018 12:51 AM
Hi Awake!
It can be a little bit tricky even with an SPFx extension. I can recommend you to take a look at a 3-rd party solution - Plumsail Forms. This tool allows you to design responsive forms for Modern UI and provides a lot customization capabilities. Find some samples.
Mar 22 2018 12:52 AM
Hi Awake,
It is also possible to add a custom list form using Microsoft PowerApps. In this you could build pretty much what you describe.