docusealco / docuseal

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

[Feature Request] Allow grouping of fields to allow conditions by groups #288

Closed iwm911 closed 3 months ago

iwm911 commented 4 months ago

Hi,

It could be very beneficiary to enable the grouping of fields so that in forms which have 2 paths of filling (for example bank account vs credit card) it will be possible to group fields of one payment method and make them available only if that payment method is selected.

now the condition should be done individually per field.

omohokcoj commented 3 months ago

@iwm911 conditional fields are available in Pro https://www.docuseal.co/resources/add-conditional-fields

iwm911 commented 3 months ago

Hi,

It's true that conditional fields are available in pro, however grouping of fields and then apply a condition per group is not available.

omohokcoj commented 3 months ago

@iwm911 instead of grouping - the same condition can be applied to multiple fields

iwm911 commented 3 months ago

Yes, but for multiple fields that could be a tidies task.

It's a nice to have feature that could save time.

omohokcoj commented 3 months ago

@iwm911 thanks for your suggestion - that's true that grouped fields might save time - but i think for now adding the same condition to multiple fields is the best option given the level of complexity groups can introduce both from the code and UI/UX pov.

iwm911 commented 3 months ago

Ok, i guess it's understandable.

is it something you are open to get as a PR (given that conditions are a Pro feature)?

omohokcoj commented 3 months ago

@iwm911 unfortunately we do accept contributions for features which are the part of Pro (also it's unlikely we could have accepted it because of the complexity)