formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

Easy way to remove default values and conditionals

Open CoreNetJC opened this issue 6 years ago • 2 comments

Right now we are using regex to strip out default values and conditionals/logic from the form when presenting it for the purposes of generating a report. So while the default values are used when filling the form out, we want to present the form to a manager with all defaults removed and showing all available options without having to click through things to see them.

Just curious if there is a config option we can use to do this work before the form gets presented using createForm without having to resort to finding all possible permutations with regex.

CoreNetJC avatar Nov 17 '20 18:11 CoreNetJC

@travist Still looking for an option here. Would definitely appreciate any advice you have.

CoreNetJC avatar Jun 08 '21 20:06 CoreNetJC

We're currently addressing a backlog of GitHub issues. Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!

olgabann avatar Feb 07 '24 14:02 olgabann