tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/8-configuring-the-form-processing-scriptCascade CMS: Discussion 2011-04-07T22:11:51Ztag:help-archives.hannonhill.com,2010-02-09:Comment/16024922010-05-05T15:02:36Z2010-05-05T15:02:36Zconfiguring the form processing script<div><p>Hi,</p>
<p>Can you go ahead and attach your form processing block code to
this post (ie, the contents of <strong>form.php</strong>)?</p>
<p>Thanks!</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/16024922010-05-05T16:04:59Z2010-05-05T16:05:01Zconfiguring the form processing script<div><p>The form processing script is attached.</p>
<p>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
example.edu, so I might try to work with that as well.</p></div>Roger Donaghytag:help-archives.hannonhill.com,2010-02-09:Comment/16024922010-05-07T14:48:59Z2010-05-07T14:48:59Zconfiguring the form processing script<div><p>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.</p>
<p>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.</p></div>Tim