homer.favenir Posted October 15, 2009 Share Posted October 15, 2009 hi, i want my form to know whether its textbox is unchange or not. if($textbox == 'unchanged'){ //do this }else{ //do this } ive been searching all day , but cant find the exact solutions... TIA Link to comment https://forums.phpfreaks.com/topic/177764-textfield-unchanged/ Share on other sites More sharing options...
ILMV Posted October 15, 2009 Share Posted October 15, 2009 Questions: - What is the current value in the text box? Or can this by dynamic? - How are you submitting the form (post, get)? - Is $textbox's value being set in code you haven't specified? Link to comment https://forums.phpfreaks.com/topic/177764-textfield-unchanged/#findComment-937346 Share on other sites More sharing options...
homer.favenir Posted October 15, 2009 Author Share Posted October 15, 2009 my text box is not dynamic, when i only edit it, the script should know whether it has been changed or not. im submitting it with post the textbox has already value, because it was only in edit mode. tia Link to comment https://forums.phpfreaks.com/topic/177764-textfield-unchanged/#findComment-937347 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.