Adding data to a list with button

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Adding data to a list with button

    Hi everyone
    Any ideas why my button doesn't appear?
    I get the query results displaying fine but there is supposed to be an 'add
    button' at the bottom. A user can add then go back and search again after
    adding the choosen data to memory.
    Is it something to do with this code or could it be with the button code?
    cfoutput query="q3">
    <b><i><font face="arial" size=4>
    <input type="checkbox" name="myCheckBox" value="checkbox">
    #q3.symptom#</font></i></b><br>
    <a href="itemDetail.cfm?#q3.symptom#"></a>
    </cfoutput>
    <cfif IsDefined("form.myCheckBox")>
    <cfinclude template="addButton.cfm">
    </cfif>
    <p><a href="catalog_getCategories.cfm?firstletter=#first letter#"><<
    Back</a></p>


    Regards Mark



    quiero mas Guest

  2. Similar Questions and Discussions

    1. Dynamically adding Dropdown, Text Box, Add Button and Remove Button
      Hi Everyone, I am facing a poblem in creating a row which contains following scenario in ASP.NET |DROP_DOWN_LIST | |TEXT_BOX| ...
    2. Adding a second button if the first button is clicked
      Hi I build my form dynamically in Page_Load, with a button If the user clicks the button I want to create another button. I can do this but the...
    3. adding list items to a database
      Not sure if this is javascript or php so i put it in both newsgroups, sorry if it's the wrong group. I wrote (with help) a code to put several...
    4. Need a button to rollover, show list and link from list
      Hi, very new to Flash and need some help with a button. I'm creating a title bar for a site and I'm doing something similar to the button on...
    5. DataGrid - Adding labels: and adding data to cells
      I am just getting started with flash scripting. My downfall is trying to get the dynamic output to display in flash. I tried using the list...
  3. #2

    Default Re: Adding data to a list with button

    Perhaps you could post the addButton.cfm code.
    jdeline Guest

  4. #3

    Default Re: Adding data to a list with button

    My guess is that your button is supposed to go here:
    <a href="itemDetail.cfm?#q3.symptom#"></a>

    By the way, you are also missing your url variable name.
    Dan Bracuk Guest

  5. #4

    Default Re: Adding data to a list with button

    Sorry Dan - Where am I missing the url name?
    Thanks Mark
    quiero mas Guest

  6. #5

    Default Re: Adding data to a list with button

    The url name is not what's missing.

    You say you can't see a button,right? If you look at your page, where do you think it should be? If you look at your source code, what is in that spot?
    Dan Bracuk Guest

  7. #6

    Default Re: Adding data to a list with button

    THanks Dan
    Had another look - seems to be in the right place and sorry it does appear in
    my split view - but when i to the web application
    - nothing - and after making a query from the search page.

    could it be the actually button code?
    Is there an easier way to do what im trying to do?

    Ragards Mark

    quiero mas 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