Jason Baird
Posts: 0
Joined: Tue Nov 26, 2013 11:38 pm

Apperyio().hide() and Apperyio().show();

I'll give it a shot, I really hope it works.

Jason Baird
Posts: 0
Joined: Tue Nov 26, 2013 11:38 pm

Apperyio().hide() and Apperyio().show();

//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');

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Apperyio().hide() and Apperyio().show();

Any hint on what those errors are?

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Apperyio().hide() and Apperyio().show();

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

Jason Baird
Posts: 0
Joined: Tue Nov 26, 2013 11:38 pm

Apperyio().hide() and Apperyio().show();

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.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Apperyio().hide() and Apperyio().show();

Hi Jason,

Tried following:

  1. Added groupbutton on the page.
    Details: http://prntscr.com/5pe8ts/direct

  2. Get Name for second item.
    Details: http://prntscr.com/5pe94o/direct

  3. Run app.
    Details: http://prntscr.com/5pe9gk/direct

  4. 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.

Jason Baird
Posts: 0
Joined: Tue Nov 26, 2013 11:38 pm

Apperyio().hide() and Apperyio().show();

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.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Apperyio().hide() and Apperyio().show();

Hi Jason,

Thanks for this update.

If you will face with this problem again please let us know.

Regards.

Return to “Issues”