June 7, 201015 yr How can I apply validation to a field so that it accepts numbers only. My issue is a decimal point. 123 is a valid entry. 1.23 should fail validation.
June 7, 201015 yr Why not just use the Filter Function Filter (YourNumberfield ; "0123456789" ) HTH Lee [color:red]p.s. 123 is a valid entry. 1.23 should fail validation. Why? There is a difference in the numbers of 121.77 Edited June 7, 201015 yr by Guest p.s.
June 7, 201015 yr Author Lee Thanks for your interest The field is used to input time in a contest scoring program. Depending upon the application, the entry is either hours and minutes or minutes and seconds. Enabling the scorekeeper to enter whole number allows for faster data entry. No punctuation is necessary to separate the hours from minutes or the minutes from seconds. The entry is converted by a formula (calculation)into all minutes or all seconds. For instance, 115 converts to 75 minutes. I'm trying to invalidate an entry that contains any characters other than numbers. Maybe I don't understand how to use the filter function but it didn't work for me. BTW I see that we're just across the river from each other.
June 7, 201015 yr Try to validate by this calculation: IsEmpty ( Filter ( Self ; KanjiNumeral ( Self ) ) )
June 8, 201015 yr Author I tried that. While I don't understand what it does (more reading required) it did cause a validation failure. That's the good news. The bad new is that by choosing "Revert", ALL changes to the record were reverted. Not just the subject (time) field. Dudley
June 8, 201015 yr The bad new is that by choosing "Revert", ALL changes to the record were reverted. Not just the subject (time) field. This is how validation works: all NOT saved data of the record will be lost.
Create an account or sign in to comment