Page 1 of 1

Custom Forms

Posted: Sat Jun 13, 2009 4:52 pm
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

Re: Custom Forms

Posted: Sat Jun 13, 2009 4:56 pm
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

Re: Custom Forms

Posted: Sat Jun 13, 2009 5:06 pm
by mafaz
Could you help me out and explain what a UDT is? Pardon my ignorance!

Re: Custom Forms

Posted: Sat Jun 13, 2009 7:31 pm
by mafaz
Thanks I have figured it out from your direction guide!