martin_695862's profile

611 Messages

 • 

13.7K Points

Thursday, September 21st, 2023 6:53 PM

No Status

2

Suggested enhancement to form validation for marriages (trim off any invisible leading/trailing spaces in "year" field)

I copied-and-pasted some marriage years from an obituary, and inadvertently included a leading space (for one marriage) and a trailing space (for another marriage). This generated the "red" error "The year 2010 must have 4 digits and should not be 0".

I suggest that the code which validates dates for marriages (and maybe for DOB/DOD) should be enhanced to trim off any invisible leading/trailing spaces from the "year" field. It took me a while to work out what the problem was ;-)

No Responses!