this is becoming quite a headache!
So it is controlling it of sorts but in the inverted way to what I was after.
duty = 1023 - duty;
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16