Help with JS Function

Hi,

Thank you so much, it was the name of the field, talk about a schoolboy error:)