disable object by condition test does not work on mobile screen

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
bybyun
 
 
Posts: 10
Joined: Tue Aug 27, 2013 4:34 am

disable object by condition test does not work on mobile screen

Post by bybyun » Mon Jun 18, 2018 3:03 pm

Hi Pablo,

I tried to disable a radiobutton after testing condition.
It works on PC screen and disables the object but not working on mobile screen.

test site is here:
www.cdcgroup.co.kr/miracle_test

Why? And waht should I do now?

Thanks,
B.Y.

User avatar
Pablo
 
Posts: 13941
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: disable object by condition test does not work on mobile screen

Post by Pablo » Mon Jun 18, 2018 3:50 pm

Didn't you ask the same question here?
https://www.wysiwygwebbuilder.com/forum ... 21&t=81366

bybyun
 
 
Posts: 10
Joined: Tue Aug 27, 2013 4:34 am

Re: disable object by condition test does not work on mobile screen

Post by bybyun » Mon Jun 18, 2018 6:50 pm

It is not the same issue.

Last time was about conditional "display" on RWD screen - I unchecked include visability as per your answer, and it worked.

However, after that,one of the instructions for the conditional test was to "disable" a radiobutton but it does not work on mobile screen even though it works on PC.

Help, please.

Regards,
B.Y.

User avatar
Pablo
 
Posts: 13941
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: disable object by condition test does not work on mobile screen

Post by Pablo » Mon Jun 18, 2018 8:15 pm

Maybe it is because the name of the ID is invalid?
'R-Button2'

What do I need to do to see the problem?

bybyun
 
 
Posts: 10
Joined: Tue Aug 27, 2013 4:34 am

Re: disable object by condition test does not work on mobile screen

Post by bybyun » Tue Jun 19, 2018 1:29 am

Hi, Pablo.

Sorry that I did not supply full info.

This is the test site: http://ww.cdcgroup.co.kr/miracle_test/
(It has two width - 970 and 320)

And this is the WBS file: https://1drv.ms/u/s!Ao79m-YD5P8K8BBC4jv9bzQRBBZh

My mobile is Galaxy Note 5 (Android Version 7.0)

Thanks a lot.

B.Y.

User avatar
Pablo
 
Posts: 13941
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: disable object by condition test does not work on mobile screen

Post by Pablo » Tue Jun 19, 2018 6:33 am

I'm sorry, but I do not have a Galaxy Note 5.
However, it seems to work correct on my iPhone.
Did you also try it in another browser?

bybyun
 
 
Posts: 10
Joined: Tue Aug 27, 2013 4:34 am

Re: disable object by condition test does not work on mobile screen

Post by bybyun » Tue Jun 19, 2018 9:55 am

Yes, I did it either with Samsung Browser and Chrom. Both did not work and they do not disable the radiobuttons. I.e., you first click on red button and then if you click on the blue button it is still clickable, which is supposed to be disabled.

Maybe I have to give up this feature for my current application being developed.

User avatar
Pablo
 
Posts: 13941
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: disable object by condition test does not work on mobile screen

Post by Pablo » Tue Jun 19, 2018 10:59 am

Instead of using the 'disable' action, use 'javascript' and

Code: Select all

$('#radiobutton1').prop('disabled', true);

bybyun
 
 
Posts: 10
Joined: Tue Aug 27, 2013 4:34 am

Re: disable object by condition test does not work on mobile screen

Post by bybyun » Tue Jun 19, 2018 12:17 pm

I will try it and let you know the result.

Thanks,
B.Y.

bybyun
 
 
Posts: 10
Joined: Tue Aug 27, 2013 4:34 am

Re: disable object by condition test does not work on mobile screen

Post by bybyun » Wed Jun 20, 2018 12:43 am

Hi, Pablo.

Unfortunately Javascript does not work either. (:cry:) Actually I did not expect much because the generated code was the same as this javascript...

Thanks anyway.
B.Y.

User avatar
Pablo
 
Posts: 13941
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: disable object by condition test does not work on mobile screen

Post by Pablo » Wed Jun 20, 2018 6:01 am

Note that you will need to add this for both radio buttons.

bybyun
 
 
Posts: 10
Joined: Tue Aug 27, 2013 4:34 am

Re: disable object by condition test does not work on mobile screen

Post by bybyun » Wed Jun 20, 2018 8:03 am

Thanks Pablo, for your kind follow-up.

I did it for both buttons, of course. And I tried about 3 other java script methods but they all do not work. I also found that it does not work on Galaxy S8 too, so I assume this is Samsung mobile's problem.

So, I asked this to Samsung Electronics HQ with detailed explanation and test site through email.

If I hear anything, I will update you.

Thanks again,
B.Y.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests