Function send in module formicula returned (solved)  Bottom

  • I have one 'customized' form working ok and am trying to make a second one and instead of the user getting a confirmatory message page and the admin and submitter both getting emails, all I get is a page with 'Function send in module Formicula returned'

    The other form still works fine.

    I have checked to be sure that each of the templates refers correctly to the form number. Not sure what else to check.

    Here is the code for the form. I've been over it sooo many times now it could have ancient Urduk in it and I wouldn't notice :?

    Code

    <!--[* Smartytemplate *]-->
    <!--[* $Id: 3_userform.html,v 1.1 2005/07/05 05:42:53 landseer exp $ *]-->

    <!--[ include file=3_userheader.html ]-->

    <form action='<!--[ pnmodurl modname=formicula type=user func=send ]-->' method='post' />
    <input type='hidden' name='authid' value='<!--[ pnsecgenauthkey ]-->' />
    <input type='hidden' name='form' value=3 />
    <input type='hidden' name='numFields' value=2 />
    <input type='hidden' name='adminformat' value='plain' />


    <fieldset>

    <legend>Democratic and Impertinent Information</legend>

    <!--[ pnml name='_FOR_REAL_NAME' html=1 ]-->&nbsp;:
    <input type='hidden' name='custom0name' value='<!--[ pnml name='_FOR_REAL_NAME' ]-->' />
    <input type='hidden' name='custom0mandatory' value=0 />
    <input type='text' name='custom0data' size='40' maxlength='80' value='' />
    <p>

    <!--[ pnml name='_FOR_AGE' html=1 ]-->&nbsp;:
    <input type='hidden' name='custom1name' value='<!--[ pnml name='_FOR_AGE' ]-->' />
    <input type='hidden' name='custom1mandatory' value=0 />
    <input type='text' name='custom1data' size='40' maxlength='80' value='' />
    <p>

    </fieldset>
               
    <!--[ pnml name='_FOR_USERMAILFORMAT' html=1 ]-->&nbsp;:&nbsp;
    <select name='userformat' />
    <option value='html'><!--[ pnml name='_FOR_HTMLMAIL' ]--></option>
    <option value='plain'><!--[ pnml name='_FOR_TEXTMAIL' ]--></option>
    </select>

    <input type='submit' name='submit' value='send this sucker' />
    </form>


    Anyone who has experienced this have any suggestions?

    Peter

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • Solution:

    Code

    <input type='hidden' name='cid' value=0 />


    It wasn't Urdu in my coding, just a missing line. Woke up in the wee hours and realized what the problem was...

    Duh.

    Peter

    --
    Peace
    ______________________________________
    The commonest cause of problems is solutions.
  • 0 users

This list is based on users active over the last 60 minutes.