Double clicking submit button - duplicates

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Double clicking submit button - duplicates

    Hi there, I have a DW insert record behaviour on a php page. If the user
    clicks Submit quickly multiple times, I end up with duplicate records. Any
    suggestions on how to modify the insert record behaviour to prevent this?
    Thanks, Tim

    force4ormore Guest

  2. Similar Questions and Discussions

    1. Send form data via email (pdf) by clicking SUBMIT button
      am trying to create a form that can be sent to an end-user who will process the information on the form. To do this...I have created a button...
    2. Double Clicking on a PDF document, will not open
      When double clicking on a PDF document with the default document properties set to Acrobat Professional 8, the document will not launch Acrobat. ...
    3. Double Clicking doesn't open files
      I've got PS CS and PS 7 on my Mac running OS 10.3.3. If I double click on an image file PS CS opens, but the image doesn't open. If I drag the image...
    4. Double clicking window bar doesn't minimize
      In illustrator CS when I double click the bar at the top of the document window the window doesn't minimize to the dock. I actually have to click the...
    5. Double-clicking
      I hope this isn't too dumb a question - how can I create a "double-click" function for an object? I'm trying to create a scenario where the end user...
  3. #2

    Default Re: Double clicking submit button - duplicates

    Create a recordset before the insert routine to select the data that is
    about to be inserted. If a record is found then skip the insert routine,
    otherwise insert the record as normal.


    --
    Gareth - TMM Dreamweaver
    [url]http://www.dreamweavermxsupport.com/[/url]
    [url]http://www.garethdp.com/[/url]

    PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.
    [url]http://www.phploginsuite.co.uk/[/url]

    Co-Author: Dreamweaver MX: Instant Troubleshooter - Apress
    Co-Author: Practical Intranet Development - Apress
    Co-Author: Dreamweaver MX: Advanced PHP Web Development - Apress
    Co-Author: Dreamweaver MX: PHP Web Development - Wrox


    gareth 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