Adding Homemade Form to CMSms

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
tokesnugerd
New Member
New Member
Posts: 2
Joined: Thu Mar 20, 2008 9:53 pm

Adding Homemade Form to CMSms

Post by tokesnugerd »

Hy all,

I made a form that sends the information to 2 email addresses.. and stores it in a database. This script works verry wel.. standalone.
But in CMSms...

Using 'User Defined Tag' I inserted this php script into CMSms.
The code:
@ require_once ('file.php');

It seems to be working, but the function that is ran when submitting.. just makes the browser go back to the main page. Without sending emails or storing to database.

Pieces of code:

" method="post" enctype="application/x-www-form-urlencoded">
...


And I think something goes wrong with the first line.. but what ?

Can someone help me ?
Tnx
alby

Re: Adding Homemade Form to CMSms

Post by alby »

tokesnugerd wrote: Can someone help me ?
View this topic

Alby
tokesnugerd
New Member
New Member
Posts: 2
Joined: Thu Mar 20, 2008 9:53 pm

Re: Adding Homemade Form to CMSms

Post by tokesnugerd »

Apperently this isn't working well for me either. Is there something wrong with the form settings ?

Tnx
Post Reply

Return to “Developers Discussion”