mk_common
Posts: 17
|
| Posted: 07/03/2009, 3:23 AM |
|
I want to ask Yes/No when user click the button
Add Button
Submit Button
Delete Button
wam regards,
mk.
_________________
mk |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 07/03/2009, 7:15 AM |
|
Hi
In the client side on click event for the button just create a dialog box that asks the question.
An example of how this is done can be seen if you build a record and specify confirm delete for a record. CCS adds a on-click dialog box for that automatically.
Take not how the delete button is created by CCS in that case and just dublicate it for all the other buttons
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
mk_common
Posts: 17
|
| Posted: 07/04/2009, 4:32 AM |
|
it is showing
Ok or Cancel and i want to show Yes/No
warm regards,
mk.
_________________
mk |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 07/04/2009, 5:37 AM |
|
Well I think you will need to create your own dialog box in that case
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
mk_common
Posts: 17
|
| Posted: 07/04/2009, 6:00 AM |
|
how i can do this in php
warm regards,
mk.
_________________
mk |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 07/04/2009, 6:37 AM |
|
These are client side events not server side.
It is done in the HTML & Javascript.
Take a look where the confirm events are added by CCS in the HTML.
Instead of the dialog box CCS uses, create your own in the same spot.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |