Drop-Down List box features - InfoPath Dev
in

InfoPath Dev

Drop-Down List box features

Last post 01-21-2009 07:52 AM by Santu. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-21-2009 07:52 AM

    • Santu
    • Not Ranked
    • Joined on 01-06-2009
    • Posts 3

    Drop-Down List box features

     

    Hi  All , Can  you please help me  how to configure below  features in Drop-Down list box which is in a repeating section  in our PSP form. List box entries   are (Start -Pause-Resume-Stop ) Features  are : 1)When user opened the form only  start entry should be enabled.2)Once  user select  the start , it would enable all  remaining List entries (Pause-Resume-Stop)3)Pause should always followed by resume entry only.4)when the user select the entry stop it should disabled the drop-down list of the concerned repeating section. With the little search and  knowledge on  code  I managed to  enable the  feature no “3” Written the below code under changed event of the drop-down list . if (e.OldValue.Equals("Pause"))            {                if (!e.NewValue.Equals("Resume"))                {                    e.Site.SetValue(e.OldValue);                    MessageBox.Show("You can select Rusume option only");                    return;                }    Which  reflects for all the repeating section activities .But I am clueless L how to approach for remaining features  which need to reflect on all the repeating section’s when the user click on insert item. 

    can anyone provide me code for the same which sould be helpful.

     Regards,Santosh.    

     

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