Forum Moderators: open
So for example I go to www.example.com/formpage
On this page there are 3 boxes to put the form data in and a post button. I want to autofill the form so the data is already in...it will always be the same data....
the thing that makes this so hard is that the form has hidden variables so I must go to the form page to ensure the session is valid....
Also the form fields never have the same name for example
<input class="req" tabindex="1" type="text" name="U2FsdGVkX18y:NDQ1NTI0NF1Jm0vsOC.QaxQgsG9eh7z8g1Z1fzYck0P66njvaXhpost92Vdu6Xk" id = "U2FsdGVkX18y:NDQ1NTI0NF1Jm0vsOC.QaxQgsG9eh7z8g1Z1fzYcUk0P66njvaXhpost92Vdu6Xk" size="30" maxlength="70" value="">
what i want to do is change the value of this input box...all 3 for that matter...the only steady identifiers are the tab index and maxlength....
i was thinking of adding the page as an iframe and modifying the content ?
Because the other page is on a different domain, you will not be able to use Javascript to interact with the form. :(
You could probably create a server side script that would take user input and try to submit it to the form, but if the developers on the other site went to the trouble of randomizing the input names on each page load they probably don't want people messing with the form. So, even if you did it server side, that would be pretty simple for the other domain to just block your server.