Skip to content

Cannot find form name for engine

edited April 3 in New Engines/Platforms
I started to create an engine and unable to get the form name for it. Gsa is unable to create the account for some reason. I think it is unable to click the button for form submission.


Comments

  • cherubcherub SERnuke.com
    edited April 4
    If the form doesn't have a url, id, class, or name you can find, then you can try and emulate the action of the form using the post data function. https://docu.gsa-online.de/search_engine_ranker/script_manual?s[]=post&s[]=data
  • I tried using post data but i think i was unable to use it properly.

    any example would help

  • royalmiceroyalmice WEBSITE: ---> https://asiavirtualsolutions.com | SKYPE:---> asiavirtualsolutions
    I tried using post data but i think i was unable to use it properly.

    any example would help

    Hey there Sickseofan,

    I ran into the exact same problem last month when I was setting up a new engine. It's super frustrating!

    What worked for me was using the post-data function that Cherub mentioned. Sometimes, GSA just can't find the form elements no matter what you try with the standard methods.

    The first thing I'd try, though, is to play around with different form identifiers. Like:

    • form id=whatever
    • form class=something
    • form name="Sign Up" (or whatever the button says)
    • form method=post (most forms use post method)

    If none of that works, then yeah, post data is your friend. I had to use it for a few tricky sites. You basically just manually tell GSA what data to submit instead of letting it try to figure out the form.

    For example: post data=username=test&email=test@example.com&password=test123

    To figure out what fields you need, just use F12 in Chrome to inspect the form elements and look at the input names. Then create your string with those exact field names.

    Oh, and don't forget to set optional form=1 in your engine file so GSA doesn't just give up when it can't find the form.

    Also, if the site uses AJAX for submissions (lots do these days), try adding: form request with=XMLHttpRequest

    Hope that helps! Let me know if you get it working.

Sign In or Register to comment.