Add Custom JavaScript Support to New Responsive Form
Adding a new feature to the New Responsive Form that allows for the injection or integration of custom JavaScript functionality.
This would open up critical flexibility for form behavior, particularly in scenarios that require:
Conditional redirection: Dynamically directing users to different pages based on their form input or user role.
Advanced filtering: Implementing client-side filters to enhance data interaction and usability within form-connected lists or libraries.
Workarounds for SharePoint's 5000-item lookup threshold: By using JavaScript, we can build lightweight solutions that query and filter large datasets without triggering threshold limitations, improving performance and user experience.
This functionality would significantly enhance our ability to tailor user experiences and resolve existing SharePoint constraints within form logic. Ideally, this could be implemented as a controlled script injection area—secured and isolated—where approved JavaScript code can run on form load or submission events.
@Guest Thanks for the feedback. We currently have no plans to add direct Custom JavaScript support into New Responsive Forms. We implemented Plugins to support JavaScript scenarios, please let us know if you have any feedback on how we can improve Plugins.