AnsweredAssumed Answered

Go To Layout via script selects a field and pops keyboard. Go To Layout with button dosen't

Question asked by ianmanning on Jul 19, 2013
Latest reply on Jul 23, 2013 by appt

Title

Go To Layout via script selects a field and pops keyboard. Go To Layout with button dosen't

Post

     If Iswitch layouts on my iPad using a script. when the layout appears the first field is selected and the keyboard pops up. If I switch the layout using a button the layout appears and nothing is selected and so no keyboard pop.

     I don't want the keyboard to pop.

     The button uses Go to Layout and specifies the layout "Project List | iPad"

     The script uses Go to Layout, Lyout Name  by calculation and the calculation below

     Case ($$AppVersion = "iPad" ; "Project List | iPad" ;
     $$AppVersion = "Pro" ; "Project List" ;
     $$AppVersion = "iPhone" ; "Project List | iPad" ;
     "Project List" )

      

     If I copy and paste the calculation into a button using Layout Name by calculation it functions as I want with no keyboard pop but if I set the button to Perform Script, I get the keyboard pop and have to tap in a clear area to hide it.

     I want to use the script so that I only have to make a single change when I add/ change layouts as opposed to changing 30 buttons.

     Any help will be greatly appreciated.

     Thanks

     Ian

      

Outcomes