Open JeffersonBledsoe opened 2 years ago
I get the following error when trying to submit a form. Let me know what I am missing here.
Hi @alisedaghatbaf. Have you got the collective.volto.formsupport addon installed in your site? volto-form-block (this package) provides the UI for form editing while collective.volto.formsupport provides the backend API endpoints for submitting forms, storing data, etc.
Hi @alisedaghatbaf. Have you got the collective.volto.formsupport addon installed in your site? volto-form-block (this package) provides the UI for form editing while collective.volto.formsupport provides the backend API endpoints for submitting forms, storing data, etc.
yes, have done that.
@alisedaghatbaf In running Volto or Plone, go to the Control panel > Addons and enable the collective.volto.formsupport
The current form relies on the
onSubmit
handler to submit to the backend. Adding anaction
with a URL ofpath + /@submit-form
should allow these forms to work without JS (I haven't tested to see if the backend package will handle these form submissions yet, so some adjustments may need to be made to collective.volto.formsupport.What we need
Proposed solution