发新话题
打印

怎么知道是谁递交的表单

怎么知道是谁递交的表单

I need to know if the form is submitted by the user or because is reloaded after for example a listbox changes or after an ajaxcall.
I have in this form a formvalidator.
The only way i found is to test if each $_POST[validator_control] is empty or not if ALL are not empty the user submit the form if not the form is reloaded.
There is an other way to do the same job?.
Many thank's.

TOP

在OnSubmit里检查下这个$sender->Name在不
努力为phpres做贡献
时刻准备着,当机会来临时你就成功了
打好基础,增加社会经验
资深技术工程师是我的梦想
承接各种团体网站外包服务和各种it技术培训
准备申请AJAX版大,希望大家支持~~

TOP

发新话题