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

  1. #1

    Default cfform

    Every time I try to submit a feature request on the Macromedia website, I get
    the following error message:

    Gateway Timeout.

    So, here is the feature(s) that I was going to request. Hopefully somebody
    from MM will find them.
    -----------------------
    cfform format=flash is a nice idea, and a good first step. However, here are
    some suggestions:

    When the focus is in a cfform input field, hitting enter should submit the
    form. This is a fundamental behaviour of almost every HTML form in almost
    every possible browser. Please add this functionality.

    There should be a way to change the form's action attribute after the form has
    been rendered. For example, a button's "onclick" attribute would be able to
    change the form's action.

    cfgrid and its accompanying tags are WAY too complicated; also, some intuitive
    attributes are frustratingly absent. There needs to be a way to do the
    following:
    1) Please simplify the form values that the action page receives. For a grid
    with the following columns: person_id, name, phone; I would expect the action
    page to receive the following form values: person_id=123, name=Bob,
    phone=123456789. Instead I get this enormous string that has to be parsed and
    reparsed. Please simplify!

    2)If a row in a cfgrid is clicked, I don't necessarily need or even want all
    of the fields to be passed on to the action page. In some cases, I would just
    like to specify a single column, or a list of columns to pass along.

    nm1m Guest

  2. Similar Questions and Discussions

    1. cfform flash
      Hello everyone. I am trying to get cfform format="flash" with ajax to work. I have set an onsubmit action on one of the buttons to update comments...
    2. Bug on Cfform in MX 7 ??
      Hi, i've upgraded my system to CFMX7, and i've found a strange things: in my cffoms developed for cfmx 6.1 i have many fields with validate or...
    3. cfform CFMX 7
      After installing the license key the cftree is not working(flash). I deleted the CFIDE virtual directory in IIS and recreated the CFIDE virtual...
    4. <CFFORM>
      Hi, I got the new copy of the WACK by Ben Forta and Ray Camden just last week. I am really excited about the new integration of Flash and XML...
    5. cfform in MX 7
      Hi, I am trying to use the CFform to make a flash form which will add name and contact into the database, and I used cfinsert or cfupdate to either...
  3. #2

    Default CFFORM

    what i ahve is a query named "inst" and i am using cfform tag as follows -

    <cfform action ="page1.cfm" method ="post">
    <select name="instlist">
    <cfoutput>
    <cfloop query="inst"><option
    value="#inst.code#">#inst.name#</option></cfloop>
    </cfoutput>
    </select>
    :
    :
    </cfform>

    Above code works fine. But if i change the format of <cfform> flash... instead
    of reading the value of option tag (inst.code) it reads the text which is
    diplayed with between option (inst.name)

    can anyone tell whats wrong?

    Please do help..
    Thanking you in advance

    SPL


    powerofs Guest

  4. #3

    Default Re: CFFORM

    I have only had a brief play with the new flash forms but I believe that you have to use only cfinputs, cfselects etc..

    So try that.
    Stressed_Simon Guest

  5. #4

    Default CFFORM

    My application used to work but suddenly after moving to a different server
    many times the application show strange behavior for example: within <CFFORM>
    </CFFORM), there is a checkbox that does not work.

    The code looks like this:
    <CFOUTPUT query="AllEmp">
    <CFFROM>
    Some required fields are coded using <CFINPUT>, non-required fields uses
    <input>
    Those uses <input > do not relecft database values, for example, non of
    the the checkbox below is checked when it is
    supposed to be checked.

    <input type="Radio" name="Gndr" value="F" <cfif sex EQ
    "F">checked="Yes"</Cfif>>Female
    <input type="Radio" name="Gndr" value="M" <cfif sex EQ
    "M">checked="Yes"</Cfif>>Male
    </CFFORM>
    </CFOUTPUT>

    alecken Guest

  6. #5

    Default Re: CFFORM

    Do this right before you show your form

    <cfdump var="the gender is #AllEmp.Gndr#look for spaces">

    You are looking for two things. A single space and either an F or M after the
    word "is", and no spaces between that letter and the word "look"

    Dan Bracuk Guest

  7. #6

    Default Re: CFFORM

    Everytime my application see #Gndr# it throw error. It's like my app. doesn't
    see the form.Gndr
    <cfif sex EQ "F">checked="Yes"</Cfif> OR <cfif sex EQ
    "M">checked="Yes"</Cfif> <<<<< doesn't see this code

    An error occurred while evaluating the expression:

    "the gender is #AllEmp.Gndr#look for spaces"
    Error near line 231, column 18.

    --------------------------------------------------------------------------------

    Error resolving parameter ALLVIEW.GNDER

    The column GNDR is not present in the query named ALLVIEW. It is likely that
    you have misspelled the name of the column.


    alecken Guest

  8. #7

    Default Re: CFFORM

    Oops, try the same thing with AllEmp.sex instead of AllEmp.gndr
    Dan Bracuk 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