Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default validation error

    Does anyone have any idea what this message means. I get the message when I try
    to send a message. Attribute validation error for tag CFMAIL. The value of
    the attribute TO is invalid. The length of the string, 0 character(s), must be
    greater than or equal to 1 character(s). I am sending the message from a
    query as follows: <cfquery datasource='siteadmin' name='getcontacts'> select *
    from super_contacts </cfquery> <cfmail to='#email#
    from='dragonlist@dragon.k12.pa.us' subject='#form.subject#'
    query='getcontacts'> mail body info </cfmail>

    rpicker Guest

  2. Similar Questions and Discussions

    1. CSS Validation Error
      I am relatively new to CSS. I recently worked through a tutorial on it that used 1em for the body font-size, and then based others off of it (h1-->...
    2. Attribute validation error for tag CFQUERYPARAM.
      I have a page that lets the user upload an image to change the logo of the website. It works fine on ColdFusion MX7 but on earlier versions I get...
    3. cfform validation and pop up error
      hi, i have two javascript functions. One is for email validation and the other to initiate a pop up window with a confirmation. <script...
    4. Form validation error!
      Hi , I have a form with a text field 'myTxt' and this is an Optional field. However I have NumberValidator defined for this text field so that...
    5. error validation question
      What is the cleanest and easiest way to produce on screen (no-popup) error validations for forms? Sincerely, %Julia%
  3. #2

    Default Re: validation error

    Hi

    Here you are retreving the emails from the database. i there for some person
    you have not entered any mail...so there is To email address ... so because of
    that reason your getting that error.. first try to check wheter all the
    persons is having the mail ids

    vkunirs Guest

  4. #3

    Default Validation error

    It has been awhile since I have worked with forms and I am getting a error when
    validating on the third line.

    Empty values are not valid for the ""selected"" attribute in any of the
    currently active versions. See the above warnings for more details.[XHTML 1.0
    transitional]

    <td width="400" height="25" align="left">
    <select name="Operating_System">
    <option selected value=""></option>
    <option value="Linux">Linux</option>
    <option value="Windows 2000">Windows 2000</option>
    <option value="Windows 2000 Server">Windows 2000 Server</option>
    <option value="Windows XP">Windows XP</option>
    <option value="Windows 2003 Server">Windows 2003 Server</option>
    <option value="Other">Other</option>
    </select>
    </td>
    </tr>



    Do I even need the line "<option selected value=""></option>"

    unseth Guest

  5. #4

    Default Re: Validation error

    Why is this empty?

    <option selected value=""></option>


    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "unseth" <webforumsuser@macromedia.com> wrote in message
    news:eccqpj$m3$1@forums.macromedia.com...
    > It has been awhile since I have worked with forms and I am getting a error
    > when
    > validating on the third line.
    >
    > Empty values are not valid for the ""selected"" attribute in any of the
    > currently active versions. See the above warnings for more details.[XHTML
    > 1.0
    > transitional]
    >
    > <td width="400" height="25" align="left">
    > <select name="Operating_System">
    > <option selected value=""></option>
    > <option value="Linux">Linux</option>
    > <option value="Windows 2000">Windows 2000</option>
    > <option value="Windows 2000 Server">Windows 2000 Server</option>
    > <option value="Windows XP">Windows XP</option>
    > <option value="Windows 2003 Server">Windows 2003 Server</option>
    > <option value="Other">Other</option>
    > </select>
    > </td>
    > </tr>
    >
    >
    >
    > Do I even need the line "<option selected value=""></option>"
    >

    Murray *ACE* Guest

  6. #5

    Default Re: Validation error

    My supervisor wants to have the seclection for Operating System to be left blank until they use the pull down , opon pulling the box down they will select the operating system that they would like.

    unseth Guest

  7. #6

    Default Re: Validation error

    But that's what is causing the validation error. Why not add something like
    "> Make your selection <"?

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "unseth" <webforumsuser@macromedia.com> wrote in message
    news:ecd2eq$9m0$1@forums.macromedia.com...
    > My supervisor wants to have the seclection for Operating System to be left
    > blank until they use the pull down , opon pulling the box down they will
    > select the operating system that they would like.
    >

    Murray *ACE* Guest

  8. #7

    Default Re: Validation error

    Tried <option selected value="Please Select Operating System"></option>
    Still erroring with same error code

    Tried <option selected value="Please Select Operating System">Please Select
    Operating System</option>
    Still erroring with same error code

    unseth Guest

  9. #8

    Default Re: Validation error

    <option selected="selected" value="-">Please Select Operating
    System</option>


    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "unseth" <webforumsuser@macromedia.com> wrote in message
    news:ecd5o4$djl$1@forums.macromedia.com...
    > Tried <option selected value="Please Select Operating System"></option>
    > Still erroring with same error code
    >
    > Tried <option selected value="Please Select Operating System">Please
    > Select
    > Operating System</option>
    > Still erroring with same error code
    >

    Murray *ACE* Guest

  10. #9

    Default Re: Validation error

    Thanks - the selected="selected" worked and cleared all my validation errors
    unseth Guest

  11. #10

    Default Re: Validation error

    That's what it meant by having empty values. No attribute can be empty,
    e.g., selected="selected", checked="checked", readonly="readonly",
    disabled="disabled", etc.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "unseth" <webforumsuser@macromedia.com> wrote in message
    news:ecf0vs$kb2$1@forums.macromedia.com...
    > Thanks - the selected="selected" worked and cleared all my validation
    > errors

    Murray *ACE* 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