RocketRod Can't get html links to Aware operations working in the mobile version. Does anyone know if it is supported? Testing on same link same form. Log in with standard AwareIm and it works. Login with mobile login and fails. I'm guessing they're not supported. Cheers Rod
RocketRod Just the SaveForm. Trying to introduce my own buttons and place at the top of the form. As I said I open the form with standard AwareIm and it works. Open the same form via Mobile login and nothing. Cheers Rod
RocketRod This is it. <a href="#" onclick="AwareApp.saveForm(this)" >SAVE</a> As I said it works in non mobile logon. Just had a thought. Logged another problem re html on mobile with reference lists. Maybe the two are related and there is an issue with html on the mobile version? Cheers Rod
aware_support Indeed, this particular one is not supported in the mobile version. As a sort of a workaround you can use startProcessFromForm with the save option.
RocketRod OK tried startProcessFromForm('MyProcess','main',this,true) My process is a simple Display Message Worked ok in standard AwareIM In mobile logon again did not do anything. Cheers Rod
RocketRod Thanks all working fine. Should have asked before but is there anyway to set up a button to close a form on the mobile version? Cheers Rod
aware_support Try the following script: var formElem = AwareApp.getFormElem (this); var formPanelId = formElem.getAttribute ('formPanelId'); AwareApp.closeComponent(Ext.getCmp (formPanelId), true); Attach the entire script to the onclick attribute of the button element in a single line: onclick="var formElem=AwareApp.getFormElem(this); var formPanelId=..."
RocketRod Not quite. It acts like a close button in that if you make changes it asks if you want to save. If you say yes it saves the form. However in either case, if changes have been made or not, it refreshes the form rather than closing it. Cheers Rod