configuring the form processing script

Roger Donaghy's Avatar

Roger Donaghy

04 May, 2010 08:04 PM

I'm trying to configure the form processing script by following the procedure outlined in this URL from the knowledge base:

Currently, I'm trying to get the form to send emails to a list of addresses. I can submit the form to the PHP file that processes the form but I don't receive any emails.

The URL of my test form is I added some fields to the form builder data definition included in the tutorial so the form includes two addresses that should receive emails.

The URL of the form configuration XML file described in the instructions is

I can paste the form processing PHP code that is being generated by Cascade into another message if that would help.

The web server hosting the files is running PHP 5.1.6. The instructions say PHP 5+ is required.

Does anyone have any advice on where I'm going wrong? I haven't worked with PHP in years, so I'm having trouble debugging this issue.

  1. Support Staff 1 Posted by Tim on 05 May, 2010 03:02 PM

    Tim's Avatar


    Can you go ahead and attach your form processing block code to this post (ie, the contents of form.php)?


  2. 2 Posted by Roger Donaghy on 05 May, 2010 04:04 PM

    Roger Donaghy's Avatar

    The form processing script is attached.

    I read through some of the other threads in the forum yesterday and saw that the CAST tutorials are outdated and may not work. Then I realized that some of the example sites in my Cascade instance might contain more recent examples of forms and found a sample in, so I might try to work with that as well.

  3. Support Staff 3 Posted by Tim on 07 May, 2010 02:48 PM

    Tim's Avatar

    I followed the instructions to set this up on my local machine but I wasn't able to get it to fire off any emails either. I even tried hard-coding some values directly into the script but still could not get it to work properly. So, it seems that something has changed since this was originally created that may be preventing it from working correctly. Hopefully you'll have better luck with the newer samples provided in the default database.

    The main thing to take away from the sample is how one can create a data definition, attach it to a page in Cascade, then have it publish out a configuration file that can be consumed by a PHP script. The PHP script then will all of the work once the form is filled out on the live website.

  4. Tim closed this discussion on 07 May, 2010 02:48 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac