error in insert twice
i have a form it shows error div when duplicate gallery was made. shows a success message when inserted.
once a gallery is made how do i not insert again
i have a form it shows error div when duplicate gallery was made. shows a success message when inserted.
once a gallery is made how do i not insert again
to check if the gallery name exists in the database:
1) Create a new recordset. Set it to use the gallery table, and filter the gallery name column on the gallery name form element.
2) Add server Validation form CSS Form builder. Use Number validation. For the server variable enter:
$totalRows_<RecordsetName>
where <RecordsetName> is the name of the recordset.
set the minimum nuber to -1 and the maximum to 0.
this will cause validation to fail if the gallery name is found in the database.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.