Changing value of Input Field at 'End Edit'

Hi All

I can’t seem to change the text value of an Input Field via the End Edit event.

I can change it in the start function just fine, but not in a new function called up from the End Edit event.

I am creating a time of day system and it needs to check the value of the day text field after editing to cross reference it against the month, and change the value if necessary (such as if the user types 32 into the day field it will change it back to 31, 30 or 28 depending on a month variable).

Can anyone advise if this is intended behavior or if there’s another way of doing this that doesn’t necessarily involve having code in the update function?

Thanks

No idea anyone?