Hi
I am trying to create a few centralised components so I do not have to keep writing the same code. So far got most of it working but I am trying to figure out how to SubmitForm from inside a component.
Normal code for this would be something like this - SubmitForm(form_name)
Tried passing the name of the form to the component via txt input. But Component does not like the fact it's not an editable form.
I can not see an component input for forms to pass it for submit.
The save part of the component needs to go every page so would save me a lot duplicate code.
Tried using behaviour component as well.
Any thoughts has anyone else done this?
Thanks