Want to output confirmation message in cfform

Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Want to output confirmation message in cfform

    Hello, I'm building my first application using CF. I have a members area where
    I'm using the cfform to allow the members to send emails to anyone. After the
    user submits the form, I want a confirmation message to display within the
    cfform somewhere. Is this possible? If so your knowledge would benefit me
    greatley.

    Thanks

    Rob.:grin;

    infa Guest

  2. Similar Questions and Discussions

    1. Double Validation Message with CFFORM
      Hi All, I'm creating a dynamic form in CF7 setting the format to flash, but for some reason when the form validates I'm getting two different...
    2. cfform output
      When using cfform in my XHTML document, the output for the form tags is in uppercase. This won't validate using the W3C validator. What can I do...
    3. Password Confirmation using cfform CFMX7 (flash form)
      Im trying to validate with cfform (flash form) using CFMX 7, the field PASSWORD and RE-PASSWORD with FLASH FORMS. Any idea?? Regards
    4. Output Error message...Bug?
      ftp://ftp.courierprinting.net Thanks Bob. I just don't have a clue then what is going on. I have CS3.01 and XP Pro SP1 with all critical updates...
    5. confirmation message after finished preload
      Hi! Is there a function that returns a confirmation message when a Movie (MIAW) is fully preloaded? greeetz ras
  3. #2

    Default Re: Want to output confirmation message in cfform

    Try something like this

    <cfform.....
    <cfformitem type="script">
    function doubleCheck(){
    alert("Are you sure you want to send this email", "Send Email",
    mx.controls.Alert.OK | mx.controls.Alert.CANCEL, confirm);
    }
    function confirm(evt) {
    if (evt.detail == mx.controls.Alert.OK) {
    _root.submitForm();
    }
    }
    </cfformitem>
    <cfinput type="button" name="btmSendMail" value="Send Email"
    onClick="doubleCheck()">
    </cfform>

    Nick Watson Guest

  4. #3

    Default Re: Want to output confirmation message in cfform

    Thanks Nick, I'll give this a try when I get home.

    Thanxxxxxx

    Rob:grin;
    mistainfa 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