Only one of two things then:
It really isn't field5
OR
You didn't make the value of "No" exactly No in the profile field settings. It is case sensitive...
If you still have issue can you try to post a screen shot of your custom profile field edit page?
Oh one more thing is to try is to remove the single quotes in the code, make it $post[field5] rather than $post['field5'].
|