Conditional Actions Based on Active View - InfoPath Dev
in

InfoPath Dev

Conditional Actions Based on Active View

Last post 07-25-2013 04:19 PM by mcastine. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-19-2013 11:45 AM

    Conditional Actions Based on Active View

    I have a SharePoint browser form I have customized with 2 views.  I would like to set a condition that states If current view = View1, to set the value of a text control to View1.  If current view = View2, set value of text control to View2.  I haven't determined if the control capturing the values should be a text box or a radio button.  It doesn't matter as long as I can get the values to update.  I am using one form to capture two types of data and the value field heps to categorize the information in the sharePoint metadata.

     Can this be done?

  • 06-19-2013 12:13 PM In reply to

    Re: Conditional Actions Based on Active View

    I think that in order to automatically know the name of the current view you would need custom code.

    You could use qRules, but knowing more about the scenario would help to know whether qRules can help, or whether you're better off writing custom code.

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


  • 07-25-2013 04:19 PM In reply to

    Re: Conditional Actions Based on Active View

     Add the conditional statements to the Form Load section. It is in the Ribbon under the Data tab. http://benmcmann.files.wordpress.com/2012/06/figure3.png?w=300&h=126 <-- screenshot to show you where it is. You can have really elaborate conditional statements. It is super easy. :-)

    Marie
    http://www.castinedesigns.com/sharepoint
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.