View Single Post
Old 06-08-2017, 05:54 PM
Karma CL's Avatar
Karma CL Karma CL is offline
Junior Member
Join Date: Nov 2016
Posts: 1
Default Are input field ids static?


I am investigating the possibility of populating the shipping address fields in the minicart using JavaScript and a php backend that has access to my customer's details.

I was hoping to use the shopping page loaded event to determine when the shipping details page is displayed but I don't know if the page element ids such as gwt-uid-28 are consistent across page loadings. In other words, is an element's id the same each time the shipping address form is displayed or might they change from one iteration of the page to the next or from one customer to the next?

If the element ids are not constant, is there a recommended method of finding the appropriate input tags to complete?


Last edited by Karma CL; 06-12-2017 at 02:31 PM. Reason: Removed portion that I answered myself