docusealco / docuseal

Open source DocuSign alternative. Create, fill, and sign digital documents ✍️
https://www.docuseal.co
GNU Affero General Public License v3.0
5.55k stars 369 forks source link

[BUG] Hidden Fields Still Show Up on Completed Document #291

Closed RyanWolf01 closed 2 weeks ago

RyanWolf01 commented 4 weeks ago

Hello, I made a rule in DocuSeal where I would only see certain fields if a radio button was set to a certain selection. For example, let's say the user selects choice 1 on the radio input , fills out more form fields corresponding to choice 1, but then realizes they made a mistake and meant to choose choice 2. If they go back and change it to choice 2, all the fields corresponding to choice 1 will disappear in the UI. However, on form submission, all the writing corresponding to choice 1 will still be there and it causes a mess.

IMO in cases where an element only exists conditionally, if that element is emitted and then the condition is no longer met, the contents of that element should be deleted.

image
omohokcoj commented 3 weeks ago

@RyanWolf01 thanks for reporting this - the issue has been fixed in the Cloud, please let me know if everything works as expected now.

omohokcoj commented 2 weeks ago

closing as fixed