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

Error on Submit when using conditions (if) #28

Open
Timo-Breumelhof opened this issue Oct 7, 2021 · 0 comments
Open

Error on Submit when using conditions (if) #28

Timo-Breumelhof opened this issue Oct 7, 2021 · 0 comments
Labels

Comments

@Timo-Breumelhof
Copy link
Collaborator

Timo-Breumelhof commented Oct 7, 2021

I had a weird issue when submitting a form.
I tried all kind of combinations and it sometimes works and sometimes it doesn't.
(depending on the HTML in the Form setting it seems)

Error:
Error on submit
Error in Email Notification 1 : Email Body : Failed to render Handlebar template : Reached end of template before block expression '' was closed - at Satrabel.OpenForm.Components.OpenFormAPIController.Submit()


In the end I found out that somehow the {{#if Field}} contained a
 

So:
{{#if Field}}
as you can't see this int he editor, it's not that easy to spot.
After removing the   the template worked as expected.
Just login this in case other might experiencing this too.
Please close the issue :-)

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

No branches or pull requests

1 participant