Page 1 of 2

show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Sun Nov 30, 2014 11:01 pm
by realmadrid2121 .

Show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or android app. Is this a known issue ?


show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Mon Dec 01, 2014 3:14 am
by Yurii Orishchuk

Hello,

Unfortunatly it's not currently clear what is your problem.

Please show us some screen shots and describe them.

Also please show us your JS implementation.

Regards.


show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Mon Dec 01, 2014 3:14 am
by Yurii Orishchuk

Also if you use "Click" event handler to run this js - please try to use "virtual click" instead.

Regards.


show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Mon Dec 01, 2014 4:50 am
by Nabeal Saif

Yurii,
Yes i have a radio group and 2 radio items in it. when one is selected i have a click event javascript as the following:

Appery('demographics_grid').show();
Appery('quantity_grid').hide();

When the second one is clicked i have a second click event javascript :

Appery('demographics_grid').hide();
Appery('quantity_grid').show();

it works in the test browser. but in the iOS appery app it does not work , neither the android app.

I tried "Virtual click" and neither worked not in app or browser tester .. "tap" only works in browser like above

Thanks


show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Mon Dec 01, 2014 4:52 am
by realmadrid2121 .

Yurii,
Yes i have a radio group and 2 radio items in it. when one is selected i have a click event javascript as the following:

Appery('demographics_grid').show();
Appery('quantity_grid').hide();

When the second one is clicked i have a second click event javascript :

Appery('demographics_grid').hide();
Appery('quantity_grid').show();

it works in the test browser. but in the iOS appery app it does not work , neither the android app.

I tried "Virtual click" and neither worked not in app or browser tester .. "tap" only works in browser like above

Thanks


show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Mon Dec 01, 2014 5:51 am
by Yurii Orishchuk

Unfortunatly It's not clear enough now how do you manage these "two clicks".

Please give us your app public link and describe steps to reproduce this problem.

We will take a look.

Regards.


show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Mon Dec 01, 2014 2:18 pm
by realmadrid2121 .

Yurii,
This is what Im trying to do .. I put it in a test app to simplify things
The javascript show hide click event only works in browser not in mobile app

http://appery.io/app/mobile-frame?src...


show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Mon Dec 01, 2014 11:33 pm
by Yurii Orishchuk

Hello,

Please specify steps to reproduce this problem.

I've tried to click on some elements but nothing happens in browser.

Regards.


show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Tue Dec 02, 2014 12:30 am
by realmadrid2121 .

Hello Yurii again,
Basically if the Item1 radio group is selected i set a click event javascript:
Appery('grid1').show();
Appery('grid2').hide();

grid 1 contains a label with the text "grid 1"

if the Item 2 radio group is selected i set a click event javascript:
Appery('grid1').hide();
Appery('grid2').show();

grid 2 contains a label with the text "grid 2"

Works in the test browser nicely.. doesn't work on the device

Nabeal


show hide javascript event based radio group selection only works in appery.io test browser but not on iOS appery app or

Posted: Tue Dec 02, 2014 5:21 am
by Yurii Orishchuk

Hello,

Please use "value change" event for radio button component instead of "click".

Regards.