This topic is locked

Fill out field based on Regular Expression?

5/10/2009 2:52:06 PM
PHPRunner General questions
R
run4sbc author

I was wondering if anyone knew of a way to fill out a field based on the Regular Expression.
[1-60]{1,2}\:?[0-59]{0,2}\.[0-9]{2}|[1-9]{0,3}\-[0-11]{1,2}\.(00|25|50|75)
I know that you use | to split the different options so it has to fit those different formats. I want it to make a field M when the first half is the correct format and E if the second half is the format used.
Anyone have any ideas or samples?
Thanks!

Cody

J
Jane 5/11/2009

Hi,
you can use custom JavaScript code on this page. But this task requires custom coding.