As the script is on Debian stable it's not the most up-to-date version of FB - which is at v3.05. I couldn't see anything in the active or resolved bug lists that appeared to relate to this.

I explicitly set action => $ENV{SCRIPT_NAME}, and that returns action="/cgi/<scriptname> in the form.

I have now updated CGI.pm and CGI::FormBuilder and the problem seems to still exist when using a default undeclared action at the later versions.

UpdateMy Perl isn't good enough to understand FormBuilder.pm yet but I've filed a bug with the workaround you suggested

Thank you for your help


In reply to Re^2: Form action with TT2 and FB v3.03 by LesleyB
in thread Form action with TT2 and FB v3.03 by LesleyB

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.