Hi folks,
This is really frustrating.
I have the following script happening:
if(this.rawValue |= null)
form1.Pg2.PtA3DescChk.rawValue = 1;
So if there's any text in the above field, a checkbox will be ticked.
That works fine, except if there is no text and I just tab through the field, a zero is displayed in the field. I don't want it to fill anything into the empty field, just to test whether it has any text or not.
Can anyone help me to tidy this up?
Thanks,
Peta
Solved! Go to Solution.
Views
Replies
Total Likes
Change pipeline(|) to exclamation point(!), otherwise you'll be doing a bitwise-or assignment, and I don't think that's what you're going for... :>
Views
Replies
Total Likes
Hi Peta,
Have you set any validation for the field that shows zero ?
Thanks,
Bibhu.
Views
Replies
Total Likes
Hi Bibhu,
No I haven't set up any Validation rules. But you reminded me to check and no there are no validations.
Tx
Peta
Views
Replies
Total Likes
Hi Peta,
I have given a link to your earlier post. Check it out.
I guess the current '0' problem is weird..
Have you set the field's value to be zero if it's null in the exit event ?
Thanks,
Bibhu.
Change pipeline(|) to exclamation point(!), otherwise you'll be doing a bitwise-or assignment, and I don't think that's what you're going for... :>
Views
Replies
Total Likes
Oops !!! I missed that symbol ...I need to go for an eye test ...
Views
Replies
Total Likes
Me too Bibhu.
You were both right!
You c@tc.se with picking up my | instead of my !
And you Bibhu for fixing my other problem.
Thank you both soooooooooooooo much!!!
Views
Replies
Total Likes
Views
Likes
Replies