Skip to content

Best way for getting the response without devalue #13307

Answered by brunnerh
karchung0930 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, form actions are designed to be used with forms and by default return their data to the special form property. So if the performed action is not intended to be used in a form at all, it does not make as much sense to use a form action.

You can of course still use a form action and deserialize its data for convenience (e.g. this supports more data types and you can have many different form actions on a single page), the assumed intent might just be a bit off, then.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@karchung0930
Comment options

@brunnerh
Comment options

@karchung0930
Comment options

@brunnerh
Comment options

Answer selected by karchung0930
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants