This Action patches up a number of things that Freeway gets “wrong” with forms. Applied to a page, it loops through the entire page, finds any form elements, and does the following:
Gives each form element an ID. This is automatically the same as the field’s name, except in the case of radio buttons (which would lead to an ID clash). Radio buttons are ID’d like this: ClusterName_Value. IDs make it possible for JavaScript to do fun things with form elements.
Cleans up the internals of picking lists. Each option gets a label attribute, and empty values are given a value of nothing rather than no value attribute at all.
Gives text fields a ‘type=“text’” attribute, so they are unambiguous. (Freeway just codes them as <input>, which makes it harder to style them specifically using CSS.)
Sign In or to comment.