APEX 5.0中的日期选择器验证 [英] Date picker validation in APEX 5.0

查看:153
本文介绍了APEX 5.0中的日期选择器验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是APEX环境的新手,需要了解对日期选择器项目执行验证的方法.在Apex页面上,我有2个日期选择器,开始日期和结束日期. 选择开始日期和结束日期,我可以在页面上获取所需的数据,但是需要在日期选择器项中添加一些验证,例如,我需要为:p添加验证规则.

I am new to APEX environment and need to know the ways to perform validation on date picker items. On Apex page I have 2 date pickers , start date and end date. Selecting the start and end date I'm able to get the required data on page but need to add some validations in date pickers items, say e.g I need to add validation rules for :

  • 开始日期应小于结束日期
  • 开始日期不能大于sysdate
  • 一个人不能输入无效的日期格式.

任何人都可以分享一些好的示例和链接以在APEX5.0上的日期选择器项上添加上述验证吗?

Can anyone please share some good examples and links to add above validations on date picker items on APEX5.0 ?

推荐答案

Here you have a good basic tutorial (fist from a series of 4). Chapter 7, Creating Validations, contains validation examples.

对于本系列的其他3个教程,请检查

For the other 3 tutorials from this series check the Oracle Learning Library

这篇关于APEX 5.0中的日期选择器验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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