I'll give it a shot, I really hope it works.
I'll give it a shot, I really hope it works.
//doesn't work installed or through appery app tester, does through web browser testing
Apperyio('fldExpiration2').hide();
Apperyio('fldExpiration').show();
//just gives a bunch or errors and doesn't work.
Apperyio('fldExpiration2').css('display', 'none');
Apperyio('fldExpiration').css('display', 'block');
Any hint on what those errors are?
The exact same code works for me on the browser, and my android 4.2 phone. Could it be something else that's throwing the errors? Do you wana add a new page and just place 1 text input control and 2 buttons and check that out - 1 button for hiding the input control, the other for showing the input control
Here's the issue. The .hide() and .show() work with "buttons" but not buttons that are part of a button group.
I'm moving things to individual buttons and calling it a day.
Hi Jason,
Tried following:
Added groupbutton on the page.
Details: http://prntscr.com/5pe8ts/direct
Get Name for second item.
Details: http://prntscr.com/5pe94o/direct
Run app.
Details: http://prntscr.com/5pe9gk/direct
Then use following code to hide second button-item
Details: http://prntscr.com/5pe9vh/direct
pre
Apperyio("mobilebutton_71").hide()
/pre
So it functionality works for me.
Could you please show us your usecase that does not work?
Regards.
The objects that were being hidden/showed were fields. The triggers were buttons in a button group, when I moved them to individual buttons it works.
Hi Jason,
Thanks for this update.
If you will face with this problem again please let us know.
Regards.