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

Exclude uploads AND fix tabs #61

Closed

Conversation

kitzberger
Copy link
Contributor

Resolves: #60, #19

kitzberger and others added 2 commits January 1, 2022 19:18
…ckend

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: in2code-de#23
@baschny
Copy link

baschny commented Nov 21, 2022

👍

@einpraegsam
Copy link
Collaborator

Thx, but the code does not work any more now without jQuery and parsley

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.

Why sent file uploads to the backend for evaluation?
3 participants