Hi all,
is the below scenerio possible?
user submits the form that will insert in db but before the data is written in db i want to make a check. The check function will run and find out if the form data exist in db or not. If it exists a confirmation box will appear and ask user "similar data exists in db, click ok to continue or click cancel to stop operation". Clicking ok will complete the operation and data will be inserted in db and clicking cancel will stop the page execution.
So in the middle of the server side code execution a javascript will alert the user and again depending on the confirmation selection server side event will continue or stop.
Please tell me its possible,
thank you
-shane
is the below scenerio possible?
user submits the form that will insert in db but before the data is written in db i want to make a check. The check function will run and find out if the form data exist in db or not. If it exists a confirmation box will appear and ask user "similar data exists in db, click ok to continue or click cancel to stop operation". Clicking ok will complete the operation and data will be inserted in db and clicking cancel will stop the page execution.
So in the middle of the server side code execution a javascript will alert the user and again depending on the confirmation selection server side event will continue or stop.
Please tell me its possible,
thank you
-shane