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

Store survey via Ajax #28

Open
tobibuenter opened this issue Dec 11, 2019 · 1 comment
Open

Store survey via Ajax #28

tobibuenter opened this issue Dec 11, 2019 · 1 comment
Labels
enhancement Feature request Request a new feature

Comments

@tobibuenter
Copy link

Hi
I want to submit the "answer-form" via ajax. So far, so easy. There are several problems in that implementation:

  • If I want to store the answers, I have to call the persistenceManager->persistAll(), because there ist no $this->redirect (wich does the persist action itself). So the data is never stored.

  • I have to "return json_encode('success')" or something like that. ATM I only get the rendered answer-view.

Is it planed to do such an implementation of ajax handling, or do I have to patch the controller and so on by myself?

@anjeylink
Copy link
Contributor

Hi, it's not planned in near future. I'll keep this as feature request

@MattiasNilsson MattiasNilsson added the Feature request Request a new feature label Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request Request a new feature
Projects
None yet
Development

No branches or pull requests

3 participants