Pass null value while using CFMAIL

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

  1. #1

    Default Pass null value while using CFMAIL

    I am trying to pass the fields
    [url]http://www.splitlightdesigns.com/txmover/My_Homepage_Files/quote-form.html[/url] to a
    recipient but obviously not all of the values will be filled in. So I keep
    getting "Error resolving parameter DO_ELEVATOR" or whatever field passes a null
    value. I know I have fixed this before but it has been a while and I have been
    unable to find the answer. It was pretty simple too.

    Also, if you don?t mind, for some reason if you check both the "elevator"
    check boxes I get the error, "This Action Is Not Allowed" and I am not sure why
    this is happening. Any advice here would be greatly appreciated as well.


    htown Guest

  2. Similar Questions and Discussions

    1. <cfmail></cfmail> in a script
      I am wondering if I can put <cfmail> tags and code within a javascript script. will the browser recognize it, and perform the instructions? ...
    2. cfmail - Attribute validation error for tag CFMAIL.
      I'm getting the error ' Attribute validation error for tag CFMAIL.' on the code below. All its doing is outputting a text string to the TO: field. ...
    3. how do I pass null arguement?
      Try 'undef'. eg. my procByLastName{ mySubA(undef, "doe"); } On Fri, 2003-10-10 at 16:39, perl@swanmail.com wrote:
    4. #25419 [NEW]: Call-time pass-by-reference has been deprecated but without it it's impossible to pass a object-reference via call_user_function
      From: roland at inkoeln dot com Operating system: Linux PHP version: 4.3.3 PHP Bug Type: Variables related Bug description: ...
    5. Error: ?null? is null or not an object
      eloine: That is a bogus error message in that it probably refers to something you have done (or not done) on the page. So, looking in the...
  3. #2

    Default Re: Pass null value while using CFMAIL

    DO_ELEVATOR is a checkbox. A checkbox value only exists on the action page if
    the box was checked. Try using CFPARAM on your action page to set a default
    value if the box was not checked. This will ensure that the variable always
    exists.

    If your form uses the "POST" method then use:
    <CFPARAM NAME="FORM.DO_ELEVATOR" DEFAULT="SomeDefaultValueGoesHere">

    If your form uses the "GET" method then use:
    <CFPARAM NAME="URL.DO_ELEVATOR" DEFAULT="SomeDefaultValueGoesHere">


    You might want to take a look at this
    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19295[/url]

    mxstu Guest

  4. #3

    Default Re: Pass null value while using CFMAIL

    Man, I knew it was simple I just could not remember that CFPARAM tag.

    Thanks.

    Now if you are up for it I am having another problem with sending HTML
    formated email.


    [url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3&thread[/url]
    id=1020277&enterthread=y

    htown Guest

  5. #4

    Default Re: Pass null value while using CFMAIL

    Sorry, I don't have access to a mailserver on this computer.
    mxstu 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