develooper Front page | perl.beginners.cgi | Postings from November 2014

Re: WWW::Mechanize question

Thread Previous | Thread Next
John SJ Anderson
November 3, 2014 14:50
Re: WWW::Mechanize question
Message ID:
Hi Billy -

Are any of the forms in the templates displayed conditionally? (I.e.,
are there forms inside IF blocks in the templates.)

If not -- if all the forms are always shown -- then yes, the numbers
should be stable.

My suggestion would be to just add unique identifiers to the forms,
because then you won't have to worry about it.


On Mon, Nov 3, 2014 at 6:41 AM, Patton, Billy N <> wrote:
> I’ve inherited an app that uses templates.
> Most of the template contain multiple forms and tables within and buttons within that.
> The order of the forms I can get from the template, most are not named forms so I have to get them with form_number(#)
> Question:
>         Can I depend on the form number being the same each time it is loaded?
>         Or will it change.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About