I have a modal form that is filled in by folks interestred in buying a home and once its filled in i need to get it loaded to a different form and submitted to the final destination.
I have saved the field data on hard drive and i have a php file of the 2nd form and the php searches and replaces the data in the correct fields when the php file runs and then it auto submits its self…
My question is can a headless browser be used to navigate to the file that has new date in its fields and load that file which will auto submit on load. Can the loading of the form php actually submit the data or must a browser screen be used…
I am also open to a different way if anyone has any ideas…
Hi @govtom
It would help a bit if you could include some hints into how the php file does the submission.
It might be that the best way would be to parse the data in your process and then use the HTTP Request activity from the WebAPI activity package to do the post request with your form data. You might need to rewrite your process a bit, but it might be more efficient.
Then again, knowing more about your particular use case could influence further suggestions
Hello Maciej,
Sorry to be slow to respond but i lost this page from my file… so could not get back to it…
More detail… I cannot grab the field data and send thru post since the form i am submitting is very secure and they will not accept a direct post response… must come in on their form with no form changes as they compare the return form to the form they have on file… so I am stuck with submitting their exact form…
I tried using Windows scheduler to fire the exe file of firefox… to load the form and submit it but when done it will not shut down the firefox so it fails next time the scheduler tries to run it… so am now trying to add a bat file to kill the firefox.
However in any case that is a bad way to skin a cat since the scheduler has to fire every 5 min to see if it needs to run a job…
What i am working on right now is to have the site when it needs to submit to send me a signal so i can wake up the browser to make the submit… and not have to check over and over to see if a submit is needed…
I am playing with imacro for chrome to program imacro to load up chrome and visit the url and make the submit… and not far enough into imacro to see if a signal from the site could light off the imacro vice checking each 5 min… that would simplify it… but not sure what sort of signal i need to light off Imacro… Several signals are possible when the site gets a new lead it can load a php file or possibly better yet the site can send an email to a pipe connected to php and that php can light of imacro… That would be the best way… if i c an work it all out…
Hope some of this makes sense… if you need more details to suggest something I am all ears and will provide any data you may need to make a serious suggestion.