Group:  Other Microsoft Office Products » microsoft.public.infopath
Thread: InfoPath 2007 : using key in forms

InfoPath 2007 : using <Enter> key in forms
Gaurav <gauravbhati[ at ]yahoo.com> 10/30/2008 10:04:20 PM

Scenario:
InfoPath 2007 browser based form.
A text box and Search button next to it.
Clicking on search button will populate a drop down from SharePoint
List as per the value in the text box.

Problem:
Search works fine when clicking on the Search button, but is there a
way to do the same by pressing the <Enter> key while the focus is in
text box ?
Please no suggestions for <Tab> + <Enter> combinations :)

Thanks
Gaurav
RE: InfoPath 2007 : using <Enter> key in forms
Shiva (GGK Tech) 10/31/2008 7:08:00 AM
Hello,

We don’t have option to run the code or rule tab is in same text box. If we
move from the text box only we can execute the code or rule will applicable.
If we add OnBeforeChange event also fires whenever user move the tab from
textbox.

--
Shiva
http://www.ggktech.com


"Gaurav" wrote:

[Quoted Text]
>
> Scenario:
> InfoPath 2007 browser based form.
> A text box and Search button next to it.
> Clicking on search button will populate a drop down from SharePoint
> List as per the value in the text box.
>
> Problem:
> Search works fine when clicking on the Search button, but is there a
> way to do the same by pressing the <Enter> key while the focus is in
> text box ?
> Please no suggestions for <Tab> + <Enter> combinations :)
>
> Thanks
> Gaurav
>
RE: InfoPath 2007 : using <Enter> key in forms
Anuma(GGK Tech) 12/31/2008 6:33:01 AM
HI,

You can add shortcut key to the button. So that you can click on short cut
key to run the process when enter is pointed in Text box.
--
Anuma Reddy
http://www.GGKtech.com



"Gaurav" wrote:

[Quoted Text]
>
> Scenario:
> InfoPath 2007 browser based form.
> A text box and Search button next to it.
> Clicking on search button will populate a drop down from SharePoint
> List as per the value in the text box.
>
> Problem:
> Search works fine when clicking on the Search button, but is there a
> way to do the same by pressing the <Enter> key while the focus is in
> text box ?
> Please no suggestions for <Tab> + <Enter> combinations :)
>
> Thanks
> Gaurav
>

Home | Search | Terms | Imprint
Newsgroups Reader