我想在单击按钮时提交页面,我想首先执行一些验证,但我不想使用内置验证,因此我正在使用 javascript 动态操作创建一个验证。大部分工作正常,只是提交页面不执行。使用本文档。
https://docs.oracle.com/en/database/oracle/application-express/20.2/aexjs/apex.page.html
我的代码本质上是
if (...){
//some things i want to run first
apex.submit('submit');
alert("aaaa")
}else{
...
}
Everything but the submit as well as the code after submit works just fine. Not too sure what's wrong with it.
当使用“提交”请求提交页面时,您的页面进程是否会执行? 您也可以尝试浏览器的控制台,只执行 apex.submit() 而不指定任何请求,看看页面是否提交。
制定任何流程来执行所需的操作
在服务器端条件区域 // 类型 => 请求 = 值 // 值 => 请求名称 //
然后转到你的JS代码(动态操作)然后添加这个
apex.submit('requestName');