Page 1 of 1

CGBetterForms Handler with UDT

Posted: Sun Sep 24, 2017 9:56 am
by gnegne74
Hello, I'm trying to use the new CGBetterForms instead of FormBuilder. With FormBuilder submission I was able to call an UDT and insert form data in a custom table.
With CGBetterForms I've tried to follow the help page:
"Use the StopDisposing Disposition, and in that template call your UDT. If your UDT returns any output then disposing will stop."
I've put my UDT in the template but no database insert it happened.
I can't find any other "handler" to do insert.
Option "POST form result to URL/WebHook" requires a real URL.
Someone can suggest something new idea?
Thank you

Re: CGBetterForms Handler with UDT

Posted: Sun Sep 24, 2017 3:35 pm
by calguy1000
I just tested this disposition with a UDT. It worked as intended. So you may have to look at what your UDT is doing.

Re: CGBetterForms Handler with UDT

Posted: Sun Sep 24, 2017 4:24 pm
by gnegne74
Maybe there was an issue with previous versions. I've update the module (from 1.0), i've totally recreated form with the same UDT and now it works!
I'm very sorry for wasting time!
Thank you