Custom Forms

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
Locked
mafaz
New Member
New Member
Posts: 8
Joined: Sat Jun 13, 2009 12:39 pm

Custom Forms

Post by mafaz »

Hi Everyone,

I'm totally new to the CMS concept, but CMSMS has made life very simple and  :) Unfortunately however, I'm in a little fix because I need to make some web forms which have unique functionalities to execute. I'm not at great liberty to detail these, however, I will try to make a similar case scenario.

The form I need has to capture data from the user and then process and output some recommendations. The process is critical and confidential. Previously my plan was to use the standard php code and do it. But with CMSMS I can't do this. So i get the point that I will have to make a module to do the particular feature.

Now, the issue is, I will have a form in page 1, which will capture data from User A. In form 2, I need to use the data from Form 1 to come up with some db sql and eventually output. Form 1 has some validations as well which have to happen on server side.

How do I do this? Do I need to make two modules? Also,will appreciate if you could explain how to pass parameters from one page to another and between modules

Please help me, my life is on the line :S

Thanks in Advance
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Custom Forms

Post by Nullig »

"Previously my plan was to use the standard php code and do it. But with CMSMS I can't do this."

Yes you can - that's what UDTs are for.

There are lots of examples in the forums and lots of info regarding passing parameters.

Nullig
mafaz
New Member
New Member
Posts: 8
Joined: Sat Jun 13, 2009 12:39 pm

Re: Custom Forms

Post by mafaz »

Could you help me out and explain what a UDT is? Pardon my ignorance!
mafaz
New Member
New Member
Posts: 8
Joined: Sat Jun 13, 2009 12:39 pm

Re: Custom Forms

Post by mafaz »

Thanks I have figured it out from your direction guide!
Locked

Return to “Developers Discussion”