Задайте вопросЗадайте вопрос
 

ВопросValidation and formatted entry fields

  • 23 января 2009 г. 22:54mark94402 Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Hi,

    I am just getting started with Office Live.  I have figured out lists and creating input forms.  What I need to do is to create two fields one for phone numbers and the other for valid text entry.

    What i want to do is to accept phone numbers in the format xxx xxx-xxxx.  I also want to validate that that the entries are numeric.  In the other field I want to check (for simplicity of example) that the input string matches "hello".

    Can someone please provide a brief example or point me to a good reference for how to accomplish this.  I am assuming that I need to change the XSLT and to include some sort of scripting to perform the desired checks but I am so far clueless as to how this looks.

    Thanks

    Mark


Все ответы