Skip to content

Store survey via Ajax #28

Description

@tobibuenter

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions