Custom form handler error state


I have a custom code handler for submitting a form. Could you help with a state variables that I should set to show form error / success manually?
And is the state global or is it component based? Because, once I set the state inside the form, child components doesn’t seem to have it.

Thank you a lot!

Hi @khomenok,

Builder state is a global variable within the content entry. One way to use builder custom code is well explained here Builder form questions

Furthermore, I recommend you check out our forum post Accessing builderState in custom components withChildren and How to access data from Builder in a React Custom Component

Hope this helps, let me know if you’ve further questions!