The below code required for the time format restriction to
restrict the time for up to 23:59
<af:inputText
label="" id="time" simple="true"
value="" contentStyle="width:30px;"
maximumLength="5">
<af:validateRegExp
pattern="([01][0-9]|2[0-3]):[0-5][0-9]"
messageDetailNoMatch="Time Format must match HH:MM" hint="Time
Format: HH:MM"/>
</af:inputText>
Thanks..
No comments:
Post a Comment