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

  1. #1

    Default Newbie help please

    I am creating a basic shopping cart. The products are retreived from a database
    and looped through and displayed on the page. Each product has a text field for
    the user to enter a quantity and a 'buy now' button to add to their cart. The
    buy now button works fine, I use URL variables and the <cfinsert> tag to update
    the cart with the info associated with whichever buy now button is pressed. The
    value of the text field needs to update the quantity field in the same database
    table but without submitting the form the variable is undefined using
    #form.text_box_name#. I need an entry box that updates as soon as the user
    changes it and that I can name and include in a URL, or something that will do
    the same job.

    Please help!!!!

    mitel_ford Guest

  2. Similar Questions and Discussions

    1. A newbie with a newbie question
      Good afternoon everyone, My Name is Dusty I am new to this forum and pretty new to Acrobat. I have Acrobat 9 running on an IMAC running 10.5.2 I...
    2. Help for a Newbie
      Hi All, I have 3 files I am using, Index.html, Test.asp, MyNewpage.html. I am try to load MyNewPage.html into Test.asp. Index.html has a link as...
    3. newbie ill q
      Hey everyone, I have to work on some logos for my place of business... I've scanned them in , edited them in Photoshop, and then made a workpath...
    4. Please help a newbie!
      Hi, I am just starting out using Flash MX. I just want some general knowledge on Flash......I am planning on making a website, but I have no idea...
    5. Newbie help with LWP
      When you login the server must pass a token back to the browser so that the browser can identify itself to the server in the next request. This is...
  3. #2

    Default Re: Newbie help please

    Coldfusion cannot do this. It is a Server Side Application language. If you
    want something on-the-fly, you'll either need to use something that can
    maintain an active connection, like Flash and Actionscript, or client-side
    technology such as Javascript. You could use Coldfusion to dynamically write
    the Javascript. The Javascript can then use onXXX event handlers to change the
    data right as the user alters it.

    Also, I would be careful submitting values in the URL. Users can break
    systems by looking at the syntax and then passing SQL Inject commands that can
    give them data they should not have.

    Aegis Kleais Guest

  4. #3

    Default Newbie Help Please

    I new to the Dreamweaver world so please excuse my ignorance.

    I created an online form and I am trying to get the information enterned
    into the form into an email. How do I get that information into an email?

    I am using Dreamweaver 8.

    Little Ronnie Guest

  5. #4

    Default Re: Newbie Help Please

    There are only two ways to process form data -

    1. Use mailto:name@domain.com as the action of the form
    2. Use a server-side scripting method to a) harvest the form's data, b)
    process it in some manner, e.g., enter it into a database, c) formulate and
    send an email to one or more email recipients, and d) redirect the visitor
    to some ending page

    Method 1 is quite simple, and is also the least reliable. It depends both
    on your visitor having an email client already installed on their computer -
    this eliminates public computers, or home users without email clients
    installed (more and more it seems) - and on the installed email client
    responding to
    the mailto call. It is not possible to use this method *and* send the
    visitor to a
    thank you page as well.

    Method 2 is the preferred method, since it eliminates the problems of method
    1, but it means that you have to grapple with server-scripting somehow (ASP,
    CF, PHP, perl, etc.).

    You would have to decide which of these methods is best for your needs,
    but if it's Method 2, then start by asking your host what they provide for
    form
    processing.

    --
    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
    ==================


    "Little Ronnie" <webforumsuser@macromedia.com> wrote in message
    news:ed7ghn$o1f$1@forums.macromedia.com...
    >I new to the Dreamweaver world so please excuse my ignorance.
    >
    > I created an online form and I am trying to get the information enterned
    > into the form into an email. How do I get that information into an
    > email?
    >
    > I am using Dreamweaver 8.
    >

    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