Reseting data validation on rich text boxes - InfoPath Dev
in

InfoPath Dev

Reseting data validation on rich text boxes

Last post 11-04-2009 12:04 AM by chhaya singh. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-13-2009 06:47 AM

    Reseting data validation on rich text boxes

    I currently have an info path form published via WSS 2.0 that has data validation on a number of fields. Some of these fields are rich text boxes that are set as cannot be blank by using the expression "field name" is equal to not(.//node()). What I am trying to do is have a button in the form that clears the contents of the fields. So far I have managed to assign a rule to set the field to blank, however where I am struggling is that the form can then be submitted with the blank field because it seems that the data validation is not reset. Can anyone help me please? Thanks
  • 10-14-2009 04:57 AM In reply to

    Re: Reseting data validation on rich text boxes

    Instead of data validation, try conditional formatting. You can make the submit button inactive until the field is filled out. Then you can make the submit button inactive when the user clicks the button to set the field to blank.

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


  • 11-04-2009 12:04 AM In reply to

    Re: Reseting data validation on rich text boxes

    jdc1977

    I want to know that how you are assigning vales to blank? becasue while assigning the values to blank through rules you must be using like " ".

    That is wrong way. You should use it like "". Then it will treat your rich text control as blank.

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