doubledecker has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks

I want to write a script that can submit a form like below..

http://www.willowvalleyretirement.com/landingbrochure/

When I checked the source code, I didn't find any form with (text|list) boxes and a submit button. How can I submit a form automatically and validate it.

Also, I noticed 'robots' in the source code which I never heard of. Is it something to do by hiding the form elements

I appreciate if anyone can provide any pointers

Replies are listed 'Best First'.
Re: Submit form with robots inside
by choroba (Cardinal) on Feb 13, 2014 at 10:35 UTC
    The site seems to use JavaScript heavily. It probably generates all its form controls. You might be able to communicate with the page through WWW::Mechanize::Firefox, but first make sure it is not illegal. Some sites provide API for automated communication (probably not this type of pages, though).
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re: Submit form with robots inside
by kcott (Archbishop) on Feb 14, 2014 at 04:52 UTC