????? ????? ????? ??? ?????? ?? ??? ????? ????? ??? ??? ???? ?????? ???? ??? ???? ?????? ?? ??? ?? InfoPath

?????? ????????? ?????? ?????????
???? ???????: 822032 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ???????? Microsoft Office InfoPath ???????? ???? ???? ???????? ?? ????? ??????. ???? InfoPath ???? ????? ??? ??? ?? ????? ???? ???????? ????? ?????? ?????? ????? ?????? ?? ??? ????????. ???? ?? ???? ????? ????? ?? ?? ?? ????? ???????:
  • ????? ??? ?? ???? ??????: ??? ?? ????? ??? ?????? ?? ??? ?????? "??? ??? ???? ???? ???? ???? ????? ??? ????? ??? ????? ?????? ??? ????? ?? ???? ????.
  • ????? ????? ???????: ??? ?? ????? ??? ?????? ?? ??? ?????? ???????? ?? ???? ??????. ?????? InfoPath ???? ???? ?? ?? ???? ????? ??? ???? ?????? ????? ??? ?????? ??? ?????. ???? ????? ????? ????? ?? ???? ???? ???????? ?????? ??? ?????? ?????? ??? ???? ?????? ?? ???? ?????? ??? ???? ?????? ???? ????? ????? ?????? ????.
???? ??? ??????? ??? ???? ??? ????? ????? ????? ??? ?????? ?? ????? ???????? ?? ?? ?????? ???. ???? ??? ????? ???? ??????? ????? ????? ???? ???? ???? ?? "?????" ????? ???? ?????? ???? ??? ??????? ?? ???? ???????? ??? ?? 30 ?? ???? ?? 65. ?????? ??? ??????? ?????? ??? ????? ??? ??? ???? ??????.

????? ???????

?? InfoPath 2010

  1. ??? ????? InfoPath.
  2. ????? ????? ????.
  3. ?? ??? ?????? ?????? ???? ??? ?????? ?????? ??? myFields ??? ?? ???? ??? ?????.
  4. ?? ???? ?????? ????? ??? ?? ?????? ???? ????? ?? ???? ???? ?????.
  5. ?? ??????? ??? ???????? ??? ??? ???? (integer) ?? ???? ??? ?????.
  6. ??? ??? ????? ??????? ??? ???????.

?? InfoPath 2003 ?? InfoPath 2007

  1. ??? ????? InfoPath. ????? ????? ????.
  2. ?? ??? ?????? ???? ??????? ? ???? ??? ???? ?????? ???? ??? ?????? "???? ????????".
  3. ?? ??? ?????? ???? ????????? ???? ??? ?????? ?????? ??? myFields ??? ?? ???? ??? ?????. ?? ???? ?????? ????? ??? ?? ?????? ???? ????? ?? ???? ???? ?????. ?? ??????? ??? ???????? ??? ??? ???? (integer) ?? ???? ??? ?????.
  4. ??? ??? ????? ??????? ??? ???????.

????? ?????? ?? ??? ???????? ?? ???? ??????? ????? ????????

?? InfoPath 2010

  1. ???? ?????? ???? ???? ???? ?? ?????.
  2. ??? ????? ??????? ?????? ????????, ???? ??? ????? ????? ???? ??? ?? ??? ??? ?? ???? ??? ????? ??? ?????? ?? ?????.
  3. ?? ?????? ?? ????? ?????? ??? ????? ???? ???? ??? ????? ??????? ??? ?? ???? ???? ?? 30 ??? ?? 65.

?? InfoPath 2003 ?? InfoPath 2007

  1. ???? ??? ?????? ?????? ??? ???? ???? ???? ?? ????? ??? ?? ???? ??? ????? ???? ????. ?? ???? ?????? ????? ???? ???? ? ???? ??? ?????? ?? ??? ????????.
  2. ?? ???? ?????? ?????? ?? ??? ???????? (?????) ? ???? ??? ?????.
  3. ?? ????? ???? ??? ???????? ???????? ??? ?? ??? ??.
  4. ?? ??????? ???????? ???? ??? ???? ??? ??? ?? ???? 30.
  5. ???? ??? ?.
  6. ????? ???? ????? ?????? ?? ? ??? Or.
  7. ?? ??? ???? ???????? ??????? ???????, ??? ????.
  8. ?? ??????? ???????? ???? ????? ??????, ??? ??? ??? ????? 65.
  9. ?? ?????? ?? ????? ?????? ???? ??? ?? ???? ???? ????? ????? ??????? ???? ?? 30 ??? ?? 65.
  10. ???? ??? ????? ???? ???? ?????? ???? ?????? ??????.

????? ?????? ?? ??? ???????? ???????? ?????? ???

  1. ???? ??? ?????? ?????? ??? ???? ???? ???? ?? ????? ??? ?? ???? ??? ????? ???? ????. ?? ???? ?????? ????? ???? ???? ? ???? ??? ?????? ?? ??? ????????.
  2. ?? ???? ?????? ?????? ?? ??? ???????? (?????) ? ??? OnValidate ?? ????? ??????? ?? ???? ??? ?????.

    ???? ???? ??????? ?????? ?? Microsoft.
  3. ?? ?????? ????????? ???????? ??????? ??? ????? OnValidate ???? ?????: msoxd_my_Age::OnValidate(eventObj) ??????
    function msoxd_my_Age::OnValidate(eventObj)
    {
    	// Clear any previous errors for this node.
    	XDocument.Errors.Delete(eventObj.Site,"InvalidValue");
    	
    	//Set the valAge variable to the value that is entered in the Age field.
    	var valAge = parseInt(eventObj.Site.text);
    	
    	//If the value that is entered in the Age field is less than 30 or 
    	//greater than 65, add a passive error to the collection of the error.
    	if ((valAge < 30) || (valAge > 65))
    	{
    		XDocument.Errors.Add(eventObj.Site,"InvalidValue","The value of the "
    		 + eventObj.Site.baseName + " field must be greater than 30 and less than 65.");
    	
    	}
    
    }
  4. ??? ?????????. ????? ???? ??????? ??????.
  5. ???? ??? ????? ?????? ???? ?????? ?????? ?? ??? ???????? (?????) ?? ???? ??? ????? ?????? ???? ?????? ????? ???? ????.

?????? ???????

  1. ??? ???? ???????? ???? ??? ????? ??????.
  2. ?? ????? ????? ??????? ???? 29 ?? ???? ??? ???? ?????.

    ???? ?? ???? ????? ????? ???? ??????. ???? ??? ??? ?? ?????? ??? ????.
  3. ??? ?????? ??? ???? ??????.

    ???? ?? ????? ???? ???? ????? ??? ?????. ????? ????? ????? "??? ???? ?????? ???? ????? ??? ???????? ??? ?????.

???????

???? ???????: 822032 - ????? ??? ??????: 30/????? ??????/1431 - ??????: 3.0
????? ???
  • Microsoft Office InfoPath 2007
  • Microsoft Office InfoPath 2003
  • Microsoft Office InfoPath 2003, Service Pack 1 (SP1)
????? ??????: 
kbmt kbhowtomaster kbhowto KB822032 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????822032

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com