Infopath custom Validation - InfoPath Dev
in

InfoPath Dev

Infopath custom Validation

Last post 02-29-2012 03:01 PM by Anson Hidajat. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-22-2012 09:23 PM

    Infopath custom Validation

    Hi All,

    I am new developer in this platform and need some help.

    I am using SharePoint 2010 external list and for validation purpose i have used Info path.

    My problem is  I have one text and one drop down on my info path form. While editing the item in the share point list I make the text box as read only so that no one can change the value in it.  based on that value drop down value should be validate.

    For Example

    My text box value is X or Y or Z and Its read only

    In drop Down tow value is there Yes and No.

    If text box contenting X value your can Submit form with Yes as a drop down value other he/she should not be able to submit the form same for Y and Z. If Y or Z is the text box value then user can only submit the form with no option in drop down.

    I know the option of VSTA coding. but i don't have any idea about writing the code in VSTA . Is there any simplest way to achieve this functionality ?

    Thanks in advance.

  • 02-29-2012 03:01 PM In reply to

    Re: Infopath custom Validation

    What you're trying to do doesn't sound very difficult and in fact can be done using rules in InfoPath as opposed to custom code.  You can create some formatting rules to disable controls based on values if you open the Rules task pane.  If you are curious about how exactly to do this in InfoPath, I can elaborate some more.
    Anson Hidajat
    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.