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

  1. #1

    Default Form question

    Hello,

    I have a form and a table, id like to have a subform that
    is in a datasheet type format, and id like the main form
    to have this subform on it (ive done that). But id like
    textboxes on the main form to fill out the subform (to
    add records), how would i go about doing this? Thanks.

    Cindy
    ~*Cindy*~ Guest

  2. Similar Questions and Discussions

    1. Add form tag? Question
      I am not getting the "Add form tag?" Question so someone must of said "don't ask again" How can i prompt it to ask me again. I don't want it to add...
    2. Another Form Question
      I have a form with a filed like this: <cfinput name="ProjectRootDirectory" type="file" size="50"> Note that the field is supposed to be a...
    3. cgiemail -form question
      I made a form that is working... Now the client wants the form to update the content of the fields as the user fills out the form. For example, if...
    4. Form CheckBox question
      Hello, I have this in my form.... the checkUnCheck(this); will uncheck values 1,2,3 if None is chosen... Now when I submit this form, the output...
    5. Subform/Form Question
      hey everyone, i got a question. i have a unbound from and a bound subform. in the form i enter info about a car that is taken in for repair and...
  3. #2

    Default Re: Form question

    I'm not sure I follow exactly but it sounds like you have a main form with a
    records source. a sub form with related records from another source,

    MainForm: COMPANY
    SubForm: EMPLOYEES

    You select a Company on the main form, and populate the Sub Form with
    Employees at the selected company.

    You do that by setting a property on the sub form that will map the
    Company.CompanyID of the main form to the Employee.CompanyID on the subform.
    When you add records to the sub form the will automatically be assoicated to
    the selected company.

    Hope this helps.


    "~*Cindy*~" <cindy@cindtastic.com> wrote in message
    news:03a801c357a5$e06399b0$a401280a@phx.gbl...
    > Hello,
    >
    > I have a form and a table, id like to have a subform that
    > is in a datasheet type format, and id like the main form
    > to have this subform on it (ive done that). But id like
    > textboxes on the main form to fill out the subform (to
    > add records), how would i go about doing this? Thanks.
    >
    > Cindy

    new.microsoft.com Guest

  4. #3

    Default Form question

    If I have a login form that users fill out, it then compares that info
    to a db.

    What happens is that if the username/pass don't match the info in the
    database, it just goes back to the original signin form.

    What I'd like to have happen is if it fails, reload the login form, but
    display a message saying that either username/password were incorrect,
    plus give the user a limit of 3 tries to sign in before kicking them to
    a different page.

    Any ideas?

    Thanks!
    Steve Grosz Guest

  5. #4

    Default Re: Form question

    when you locate back to the signin page, you may want to pass a url code to
    the page, to dispay an error:

    eg
    <cflocation url="signin.cfm?action=failed" addtoken="no">

    and on signin.cfm

    <cfif isdefined("url.action") and url.action eq "failed">

    stupid user!, you have entered incorrect login details!!!

    </cfif>

    Scott*e Guest

  6. #5

    Default Form Question

    XOXO's to anyone that can help me with this.

    I am creating a website where there will be multiple password protected
    folders on my server space. I am trying to create a webpage where a user can
    put in their username and password into fields and then it will open to a page
    with the contents of "their" folder. Each username and password are different.
    What I am trying to do is make it so that when they type in their username
    (which will be the name of the folder), it opens only their folder in a new
    page.

    How do I make the form recognize the username as the folder that it needs to
    open?

    User xyz is given the username: xyzfolder password: 1234 On the form page,
    they type in xyzfolder and their password and it opens up a page with the
    contents of the xyzfolder.

    This will be a site that many people will access so all usernames are
    different but I want the form to reconize the username and open up that folder
    if the password is correct.

    Swtnhpy Guest

  7. #6

    Default Re: Form Question

    Any help with this?
    Swtnhpy 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