Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add possibility to exclude fields from being sent to the backend #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kitzberger
Copy link
Contributor

For being able to evaluate the conditions on the backend the form data gets sent as payload to the condition.json route. In case of upload files (a.k.a [type=file]) the entire set of selected files are being uploaded with every change of basically every input field. This is resource and time consuming.

In case you don't rely on upload field within your set of conditions you can exclude them from being sent to the backend. To do so just specify add a parameter data-powermail-cond-excluded-fields-selector to the form template.

Related: #23
Replaces: #59

@denislorch
Copy link
Contributor

Relates to https://github.com/in2code-pro/powermail_cond/pull/7 (which can be closed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants