Dealing with NaN - InfoPath Dev
in

InfoPath Dev

Dealing with NaN

Last post 03-02-2011 03:34 AM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-01-2011 02:01 PM

    Dealing with NaN

    Hello there,

     I have a form in wich I filter some data from a sharepoint list to populate a textbox. But it happens most of the time that the filter returns nothing, and when it happens, there is this big ugly "NaN" appearing in the textbox.. I would like to put 0 instead of "NaN" so I can use this value to do some calculations... I've tried setting some rules like if textbox is blank, then put 0... and stuff like that, but it didn't work...

     Anyone knows how I could do this?

     Thanks a lot!

     

  • 03-02-2011 03:34 AM In reply to

    I would think that there is probably an issue with your rules. If the value of the textbox is NaN, then it is not blank. You might have to tweak your rules. If you want, please post a screenshot of the rule(s) using the Options tab.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.