Jump to content

Generating radio button ids for delivery selection


Recommended Posts

Hi, 

 

I was doing some workaround to hide payment options according to selected shipping method and ive noticed, that element IDs for input radio buttons (for delivery selection) may not be same on different computers.

 

Windows (Chrome) (Lenovo)

win_chrome.jpg

Windows (Firefox) (Lenovo)

win_firefox.jpg

iOS(Firefox) (Mac)

i_OS_firefox.jpg

 

So, you can see that only first number got modified. Ids for same delivery options on both computers where almost same except the first number. On Mac it was 7.0,7.1, 7.2 and on Lenovo 5.0,5.1, 5.2.

 

My question is: Is there any pattern for generating ID attributes for radio buttons used for selecting delivery types ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...