Re:Don’t name your input elements ‘action’ or ‘submit’
by stronglikedan on Wednesday May 07, 2014 @08:00PM
(#7713287)
Oops, I didn't mean to type "orderLine" in camel case. I usually use underscores in the entity and attribute names, and separate them with a dash, like "order_line-item_sku". That way, I can distinctly select the entity or attribute, or easily search for all attributes for a given entity, like "order_line-".
I avoid dashes because the text editor I use doesn't select them as a whole word when I double click them.