APEX:当在字段上按"Enter"时,如何提交页面 [英] APEX: How to Submit page when 'Enter' pressed on field

查看:104
本文介绍了APEX:当在字段上按"Enter"时,如何提交页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的页面只有一个字段.用户如何在不单击提交"按钮的情况下通过按"Enter"键提交页面?因此,用户应该可以按"Enter"或单击"Submit".谢谢你.

I have a page with one field only. How can user submit the page by pressing 'Enter' without having to click the 'Submit' button? User should therefore be able to either press 'Enter' or click 'Submit'. Thank you.

推荐答案

APEX文本项的属性为按下Enter时提交".将此设置为是",您就快完成了. APEX请求设置为商品名称,以便您可以根据需要提交提交处理,例如, PL/SQL条件:

APEX text items have a property "Submit when Enter pressed". Set this to Yes and you are almost done. The APEX request is set to the name of the item so that you can, if you need to, have submit processing that depends on this e.g. PL/SQL Condition:

 :request in ('SUBMIT','P1_MY_TEXT_ITEM') 

这篇关于APEX:当在字段上按"Enter"时,如何提交页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆