Execute an UDT on button click

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
seregarem
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 28, 2010 1:03 pm

Execute an UDT on button click

Post by seregarem »

I have a form. When an user clicks on button, UDT must validates captcha and if it's right send a email. If captcha is wrong, it should be shown a message. All this must be done not sending on another page. So, I think, that it can be done calling an UDT on button click. How to make this?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Execute an UDT on button click

Post by Dr.CSS »

If you use formbuilder and install the captcha module then you only need to check the use captcha box...
Post Reply

Return to “Developers Discussion”