Issue #1539πŸ’¬ AnsweredOpened October 24, 2018by himanshubudhlakoti0 reactions

How and where to define form's action in grapesjs

Quick answerby AshishTiwariMEAN

Hello Team, Need your suggestion about the same because of we need to use form builder in our application so we can easily customise our form also we need to get user input. Waiting for your reply... Thanks,

Read full answer below ↓

Question

Hello All, how can i get data from forms in grapesjs. i have droped a form on canvas as u can see that below . so there is an action property as as mentioned in above snapshot covered by red coloured rectangle. i have put and action value. so where i can define this action in my code in which i can get that form's data .. i am sharing my code overall means when i will click on form's send button then where or in which function i will get that form's data or that function where should be defined let me know please

Answers (3)

AshishTiwariMEANβ€’ October 25, 2018

Hello Team,

Need your suggestion about the same because of we need to use form builder in our application so we can easily customise our form also we need to get user input.

Waiting for your reply...

Thanks,

artfβ€’ October 30, 2018

If you want to define the action before dropping the form (eg. defined in the block) you just need to specify it as an attribute <form action="your/end/point" method="POST">

lock[bot]β€’ October 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.