大写我的物品的第一个字母Oracle Apex

发布于 2025-01-25 23:20:13 字数 163 浏览 3 评论 0原文

我在这里有一个Apex页面项目P10_NAME,我需要仅输入大写字母,它不应允许用户输入较低的情况,在输入我需要限制的数据时而不是保存记录时检查。

如何执行此

操作: p10_name:hjhjhj ---不应允许较低的案例

p10_name:asdasd ----允许

I have an apex page item P10_NAME here i need to enter only capital letter , it should not allow users to enter lower case, while entering the data i need to restrict instead of checking while save the record.

How to perform this

Eg:
P10_NAME : hjhjhj --- it should not allow lower case

P10_NAME : ASDASD ---- allow

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我纯我任性 2025-02-01 23:20:13

它是Apex 20.2(不再有5.x,所以我无法检查);它使您可以使用适当的设置来关注字母案例:

”在此处输入图像说明“


如果您的Apex版本不支持它,则将其导航到“高级”属性集,然后将其放入自定义属性< /strong>:

style="text-transform:uppercase"

It is Apex 20.2 (don't have 5.x any more so I can't check); it lets you use appropriate settings which take care about letter case:

enter image description here


If your Apex version doesn't support it, then navigate to "Advanced" set of properties and put this into Custom Attributes:

style="text-transform:uppercase"
雪若未夕 2025-02-01 23:20:13
$(document).on('change', '.u-textUpper', function() {
    var i = "#" + $(this).attr("id");
    $(i).val($(i).val().toUpperCase());
});

使用上述JavaScript代码,它将更改上情况,

您只需在u-Textupper中分配类

“在此处输入图像描述”

$(document).on('change', '.u-textUpper', function() {
    var i = "#" + $(this).attr("id");
    $(i).val($(i).val().toUpperCase());
});

use the above javascript code, it will change the upper case,

you just assign the class in u-textUpper

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文