Image for Submit Button

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

  1. #1

    Default Image for Submit Button

    hey everyone. i'n building a for in which the data from the fields is inserted
    into a database table. i'm using an image for my submit button, but when i
    click it i get an error that says "The given fieldname "UPDATEBUT.X" could not
    be found in the table 'myTable'" if i'm thinking right, it's trying to take
    data from that imageField and insert it into a field in my database table. does
    anyone know how to prevent this? thanks so much.

    straffenp Guest

  2. Similar Questions and Discussions

    1. trouble with replacing submit button with image
      I have a simple login form and one submit button. I have replaced the standard grey button with a costum made button using the appropiate Form>Image...
    2. Submit button
      I have a web form with a few text fields some validataion and a submit button. When I click the submit bittin the serverside event does not...
    3. Can i use a self made image instead of a submit button?
      hi, i want to use a submit button i have created in fireworks. but im having some difficulty getting it to submit data in a form! Can this be...
    4. Submit Button is now an Image
      Hi, I have a form with input fields and a submit button as following :(don't focus on mistypings if any) <FORM action=page.asp method=post>...
    5. using submit button and PHP-HELP
      Hi, I have a form that has a submit button in it, when the button is pressed I want it to reload the same page, with the same URL, however when I...
  3. #2

    Default Re: Image for Submit Button

    Could you post your INSERT or UPDATE statement?
    jdeline Guest

  4. #3

    Default Re: Image for Submit Button

    here's my code:

    (on the form page)
    <cfquery name="UpdateAssignments" datasource="Homework">
    SELECT ContentID,ClassName,Name,Due,Description
    FROM THS:Teacher:Assignments
    WHERE ContentID = #URL.ContentID#
    </cfquery>

    (the image that submits the form)
    <input name="updatebut" type="image" id="updatebut"
    src="../../../../interface/buttons/form_update.gif" />

    (on the updater page)
    <cfupdate datasource="Homework" tablename="THS:Teacher:Assignments">

    Thanks for Your Help!

    straffenp Guest

  5. #4

    Default Re: Image for Submit Button

    Are you using CFUPDATE?
    ptoretti 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