js code works intermittently

I have a page as follows:



The js code for the 'delivery' radio button is:

Appery("name_input").show();    
Appery("address_input").show();
Appery("town_input").show();
Appery("county_input").show();
Appery("postcode_input").show();
Appery("email_input").show();
Appery("phone_input").show();


The js code for the 'collection' radio button is:

Appery("name_input").show();
Appery("email_input").show();
Appery("phone_input").show();
Appery("address_input").hide();
Appery("town_input").hide();
Appery("county_input").hide();
Appery("postcode_input").hide();


Basically, the address information should be hidden for collection and visible for delivery. This works perfectly during testing in the appery ide. I have tried it on two android devices as an app, and windows phone as a web app. In both cases, clicking the collection radio button, does not hide the address information.

At least that is what I thought, until it worked once, hiding the address information, but clicking the delivery radio button did not reveal the address details again.

So, sometimes it works, sometimes it doesn't?
1 person has
this problem
+1
This topic is no longer open for comments or replies.