Web browser textbox focus - InfoPath Dev
in

InfoPath Dev

Web browser textbox focus

Last post 11-28-2011 03:00 AM by jigartailor1984. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-05-2010 01:12 PM

    Web browser textbox focus

    I am working on web browser infopath form. I have a button on page. I want to set the focus on textbox when i click that button. I tried that this.CurrentView.SelectText(contactFirstName); it works in infopath application but not in web application. Please help!!!!
  • 02-08-2010 05:58 AM In reply to

    Re: Web browser textbox focus

    can anybody please answer this question. It will be great. thanks
  • 02-08-2010 06:04 AM In reply to

    Re: Web browser textbox focus

    i think this is not possible in ip07 broswer forms however this is possible in infopath 2010 browser forms

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 11-28-2011 03:00 AM In reply to

    Re: Web browser textbox focus

    Hi Jigar Here I am having the same problem and i am using the InfoPath 2010 Browser Enabled Form. Can you please tell me how can in set focus to the control. I Have tried the code below but it works on local when we upload it to the sharepoint site it will not work. XPathNavigator field2 = MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:field2", NamespaceManager); CurrentView.SelectText(field2,"CTRL2"); if i preview the form from InfoPath 2010 it works fine but when i try from web browser it will not works. Please help if you can Jigar
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.