Problem with CFM form.

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default Problem with CFM form.

    Hi everyone. I have a website for signing up for an event. It was working fine,
    but now everytime anyone tries to open the registration page they get the
    following error: "The value of the attribute TYPE, which is currently
    "submit", must be one of the values: RADIO,CHECKBOX,PASSWORD,TEXT"

    I've looked online for answers and found only one entry that said it's a
    problem with the ColdFusion Server, but it didn't say how they fixed it. Can
    anyone help me?

    raym444 Guest

  2. Similar Questions and Discussions

    1. Form Problem
      Hi, I've got an intranet site that allows a user to view a weekly diary on a page. Clicking on an item on a particular day...fires up a modal...
    2. Simple Form Problem!
      Hi, I am using a simple form 2 email program. I ama experienced programmer, But I feel very bad, as I am unable to fix this problem. All seems...
    3. is this a form problem?
      I have been wrestling with this problem for the past couple weeks, and I can't seem to get a solid answer from anyone I talk to...hopefully one or...
    4. problem with form in php
      Hi, i have a problem with a form. In my page there is the following code: ...
    5. Form Problem ! Please Help !
      My form and results are on one page. If I use : if ($Company) { $query = "Select Company, Contact From tblworking Where ID = $Company Order...
  3. #2

    Default Re: Problem with CFM form.

    What is your line of code that has the type of submit?
    Post your entire form code as well.


    Also this should be posted in the General , not the Server administration section....
    Abinidi Guest

  4. #3

    Default Re: Problem with CFM form.

    This is posted in the Server Admin. section because the problem is on the
    Server end, not with the code. (which I stated in my original post and which
    should also be obvious by my statement that it was working fine at one point)
    But for the sake of argument, I have attached the form's code. Any help would
    be greatly appreciated.


    <cfform method="post" action="process_registrations.cfm">
    <H2 align="center"><u>Registration Information
    </u></H2>
    <table width="390" height="388" border="0" align="center">
    <tr>
    <td width="520" height="384" valign="top"><font
    color="#FF0000">*</font><font color="#0000FF">Name</font><br>
    <cfinput type="text" name="Name" size="50" maxlength="50"
    required="yes" id="Name">
    <br>
    <font color="#FF0000">*</font><font color="#0000FF">Address</font><br>
    <cfinput name="Address" type="text" size="60" maxlength="60"
    required="yes">
    <font color="#FF0000">*</font><font color="#0000FF">City</font><br>
    <cfinput name="City" type="text" size="40" maxlength="40"
    required="yes">
    <br>
    <font color="#FF0000">*</font><font color="#0000FF">State</font><br>
    <cfinput name="State" type="text" size="4" maxlength="2"
    required="yes">
    <br>
    <font color="#FF0000">*</font><font color="#0000FF">Zip Code</font><br>
    <cfinput name="ZipCode" type="text" size="10" maxlength="10"
    required="yes" validate="zipcode">
    <br>
    <font color="#FF0000">*<font color="#0000FF">Home</font> </font><font
    color="#0000FF">Phone</font><br>
    <cfinput type="text" name="HomePhone" size="20" maxlength="12"
    required="yes" id="HomePhone">
    <br>
    <font color="#0000FF">Work Phone </font><br>
    <cfinput type="text" name="WorkPhone" size="20" maxlength="12"
    required="no" id="WorkPhone">
    <br>
    <font color="#0000FF">Work Extension</font><br>
    <cfinput name="WorkExtension" type="text" id="WorkExtension" size="10"
    maxlength="10" required="no">
    <br>
    <font color="#0000FF">Cell Phone</font><br>
    <cfinput type="text" name="CellPhone" size="20" maxlength="12"
    required="no" id="CellPhone">
    <br>
    <font color="#0000FF">Email</font><font color="#3399CC"><br>
    </font><font color="#3399CC">
    <cfinput name="Email" type="text" size="60" maxlength="100"
    required="no">
    </font></td>
    </tr>
    </table>
    <br>
    <div align="center">
    <div align="left">
    <table width="419" height="57" border="0" align="center">
    <tr>
    <td width="521"><font color="#FF0000">*</font><font
    color="#0000FF">Emergency Contact </font><font color="#3399CC"><br>
    <cfinput type="text" name="EmergencyContact" size="54"
    maxlength="100" required="yes" id="EmergencyContact">
    <br>
    </font><font color="#FF0000">*</font><font
    color="#0000FF">Relationship to Contact </font><font color="#3399CC"><br>
    <cfinput type="text" name="Relation" size="54" maxlength="54"
    required="yes" id="Relation">
    <br>
    </font><font color="#FF0000">*</font><font color="#0000FF">Contact
    Phone # </font><font color="#3399CC"><br>
    <cfinput type="text" name="ContactPhone" size="20" maxlength="12"
    required="yes" id="ContactPhone">
    <br>
    </font><font color="#FF0000">*</font><font color="#0000FF">Weekend
    Date</font><font color="#3399CC"> <br>
    <cfinput type="text" name="WeekendDate" size="20" maxlength="20"
    required="yes" id="WeekendDate">
    <font color="#000000">(mm-dd-yyyy)</font><br>
    </font><font color="#FF0000">*</font><font
    color="#0000FF">Sponsor</font><font color="#3399CC"><br>
    <cfinput type="text" name="Sponsor" size="40" maxlength="100"
    required="yes" id="Sponsor">
    <br>
    </font><font color="#0000FF">Team</font><font color="#3399CC"><br>
    <cfinput name="Team" type="text" size="40" maxlength="100" id="Team">
    <br>
    </font><font color="#0000FF">Division</font><font color="#3399CC"><br>
    <cfinput type="text" name="Division" size="40" maxlength="100"
    id="Division">
    <br>
    <font color="#0000FF">Occupation</font><br>
    <cfinput type="text" name="Occupation" size="40" maxlength="100"
    required="no" id="Occupation">
    <br>
    </font><font color="#FF0000">*</font><font color="#0000FF">Age</font><font
    color="#3399CC"><br>
    <cfinput type="text" name="Age" size="5" maxlength="3" required="yes"
    id="Age">
    <br>
    </font><font color="#FF0000">*</font><font color="#0000FF">T-shirt
    Size</font><font color="#3399CC"><br>
    <cfinput type="text" name="ShirtSize" size="5" maxlength="5" required="yes"
    id="ShirtSize">
    <br>
    <font color="#0000FF">Physical Limitations</font><br>
    <cfinput type="text" name="PhysicalLimitations" size="65" maxlength="65"
    id="PhysicalLimitations">
    <br>
    <font color="#0000FF">Food Requirements</font><br>
    <cfinput type="text" name="FoodRequirements" size="65" maxlength="65"
    id="FoodRequirements">
    </font></td>
    </tr>
    </table>
    </div>
    </div>
    <p align="center">
    <label></label>
    <label></label>
    <font color="#FF0000">*</font><font color="#3399CC"> <font
    color="#0000FF">What will you bring to contribute to the success of the
    <strong>&ldquo;Spirit Weekend&rdquo;</strong>?: </font><br>
    <TEXTAREA NAME="Contribution" COLS=82 ROWS=7 id="Contribution"></textarea>
    </font>
    <p align="center"><font color="#3399CC"> <strong><u><font color="#0000FF">FOR
    DISCOUNT REGISTRATIONS ONLY</font></u></strong><font color="#0000FF"><br>
    Please list the last names of the additional men that will be accompanying
    you.
    </font><br>
    <TEXTAREA NAME="Guests" COLS=82 ROWS=7 id="Guests"></textarea>
    </font>
    <p align="center">
    <cfinput type=submit name="Submit" value="Continue">
    <cfinput NAME="Reset" TYPE=RESET VALUE="Reset Form">
    </cfform>

    raym444 Guest

  5. #4

    Default Re: Problem with CFM form.

    Easy fix is to change your cfinput to a input tag. Cfinput/type=submit is only
    supported in cfmx7 and above. What version are you using. There is nothing in
    your submit that requires cfinput, so use input tag.

    ksmith Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139