anamika65 Posted May 16, 2009 Share Posted May 16, 2009 hi, i have created a form with name,address,id etc fields.when i fill the 'name ' field i want to save this value to a variable and using this value i want to take possible values of 'address' field from the database. .i m using php with oracle.plz help me if anyone can. Link to comment https://forums.phpfreaks.com/topic/158371-getting-form-field-values-before-pressing-the-submit-button/ Share on other sites More sharing options...
jackpf Posted May 16, 2009 Share Posted May 16, 2009 Lol I don't think this board is for the questions you think it is. Link to comment https://forums.phpfreaks.com/topic/158371-getting-form-field-values-before-pressing-the-submit-button/#findComment-835203 Share on other sites More sharing options...
wildteen88 Posted May 16, 2009 Share Posted May 16, 2009 This is not possible with PHP alone. You'll need to use a client side language such as Javascript using the XMLHTTPRequest object (AJAX). Search google for some AJAX tutorials. Link to comment https://forums.phpfreaks.com/topic/158371-getting-form-field-values-before-pressing-the-submit-button/#findComment-835212 Share on other sites More sharing options...
gregor171 Posted May 16, 2009 Share Posted May 16, 2009 I think you need a bit of basic understanding of what happens on server and what on client. It's how the web works. I agree with wildteen88. Your problem sound a bit like Ajax suggestion box. Link to comment https://forums.phpfreaks.com/topic/158371-getting-form-field-values-before-pressing-the-submit-button/#findComment-835421 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.