So I have a form that has 4 inputs, 2 text, 2 hidden. I\'ve grabbed the two text input values from the name, which are (get_me_two, get_me_three) and I\'ve also grabbed the
I don't use the SimpleDom (I always go whole-hog and use DOMDocument), but couldn't you do something like ->find('input[@type=hidden]')
?
If the SimpleDOM doesn't allow that sort of selector, you could simply loop over the ->find('input')
results and pick out the hidden ones by comparing the attributes yourself.