R
RobinW
Hi
I've double check this and it seems to be broken.
Used the http://www.infopathdev.com/nuggets/default.aspx nuggest change
to allow xdExtension scripted code in rules.
My rule (a simple function which is working fine and allready used to
enable and disable buttons).
But if i try and add it to a text box data validation to show * when
the data is invalid and my function is true
i.e in Data validation ...
text box is empty AND expression xdExtension:MyScriptFunction() == True
should cause the * to appear when this is evaluated except it doesnt
changing the validation to simply xdExtension:MyScriptFunction() ==
True
Still doesnt work untill something is typed in the text box then
deleted and the cursor focus moved to another fiell THEN the * finally
appears unlike if it was just 'text box is empty' then the * is there
from the start
Hope this makes sense.
Robin
I've double check this and it seems to be broken.
Used the http://www.infopathdev.com/nuggets/default.aspx nuggest change
to allow xdExtension scripted code in rules.
My rule (a simple function which is working fine and allready used to
enable and disable buttons).
But if i try and add it to a text box data validation to show * when
the data is invalid and my function is true
i.e in Data validation ...
text box is empty AND expression xdExtension:MyScriptFunction() == True
should cause the * to appear when this is evaluated except it doesnt
changing the validation to simply xdExtension:MyScriptFunction() ==
True
Still doesnt work untill something is typed in the text box then
deleted and the cursor focus moved to another fiell THEN the * finally
appears unlike if it was just 'text box is empty' then the * is there
from the start
Hope this makes sense.
Robin