#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    2
    Rep Power
    0

    Question Passing Radio Buttons


    I'm trying to pass information from a set of 6 radio buttons in an HTML form to a <cfmail> template. I thought perhaps it's because I'm passing numbers vs text but I tried to change the variable and I get the same message. I know radio buttons are different than other form elements, but I can't remember why.
    I don't do this often enough to be good at it. Thanks for the help in advance. you guys who help forum users have pulled my fat out of the fire in the past.

    Here's the HTML form:

    <table width="580%" border="0" cellspacing="3" cellpadding="0">
    <tr>
    <td width="8%"><input type="radio" name="100" value="101"></td>
    <td width="92%">101: Security Rule Overview</td>
    </tr>
    <tr>
    <td><input type="radio" name="100" value="102"></td>
    <td>102: Vendors and Inducements- What Can A Compliance Officer
    Do?</td>
    </tr>
    <tr>
    <td valign="top"><input type="radio" name="100" value="103">
    </td>
    <td>103: Time and Effort Reporting and Other Hot Research Compliance
    Implementation and Monitoring Topics</td>
    </tr>
    <tr>
    <td><input type="radio" name="100" value="104"></td>
    <td>104: Corporate Integrity Agreements-View From OIG</td>
    </tr>
    <tr>
    <td><input type="radio" name="100" value="105"></td>
    <td>105: The Compliance Officers Role in Enterprise Risk Management</td>
    </tr>
    <tr>
    <td><input type="radio" name="100" value="106"></td>
    <td>106: Compliance Process Management</td>
    </tr>
    </table>

    Here's the <cfmail> template:

    <tr>
    <td><div><strong>100 sessions 11:00 am to 12:00 pm</strong></div></td>
    <td><cfif IsDefined("Form.100")>#Form.100#</cfif></td>
    </tr>

    Here's the error I'm getting:

    ERROR INFORMATION:
    Just in time compilation error

    Invalid parser construct found on line 134 at position 42. ColdFusion was looking at the following text:

    .
    Invalid expression format. The usual cause is an error in the expression structure.
    The last successfully parsed CFML construct was a CFIFMAINCLAUSE tag occupying document position (134:36) to (134:36).
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    2
    Rep Power
    0

    Passing radio buttons ( basic stuff)


    OK I figured it out. The problem was that the name of the radio button set started with a number vs a letter. It came back to me after I submitted theis post. Thanks anyway

IMN logo majestic logo threadwatch logo seochat tools logo