fixed validation logic for pinterest url and notes text box