Validating the String field

Hi,

I have one validation to do.For example there is a string field Scheduled available time in a day.So when i am giving the value as 0.6,1.6 etc it should validate and throw the error.It should accept the value as 0.5,1.0,1.5 etc like hours.Can anybody help me in this.It is so urgent.

why you are using a string field for that? you can play around with the str functions and do the validation in the validate() method of the form data source or validateField() method of the table - depending on the requirement…

Yesterday i tried but it is not working.Thats y i have posted in this forum for any idea

Try for MOD Operation but it works only for int operations. Use SubStr and do validation.

http://msdn.microsoft.com/en-us/library/aa677836.aspx

Regards,

Kuppusamy S