jfsully has asked for the wisdom of the Perl Monks concerning the following question:
Using an HTML online form, I would like to control which fields are displayed to the user upon display of the success_page.
I think the code that needs tweaking is:
-------------------------------------
=item success_page_fields () Outputs success page HTML output for each input field. =cut sub success_page_fields { my ($self) = @_; foreach my $f (@{ $self->{Field_Order} }) { my $val = (defined $self->{Form}{$f} ? $self->{Form}{$f} : ''); $self->success_page_field( $self->escape_html($f), $self->escape_h +tml($val) ); } }
-------------------------------------
Any help would be GREATLY appreciated!
Janitored by Arunbear - added code tags and retitled from 'success_page_fields'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to display only certain fields during dynamic HTML generation?
by Arunbear (Prior) on Oct 22, 2004 at 20:26 UTC | |
|
Re: How to display only certain fields during dynamic HTML generation?
by TedPride (Priest) on Oct 22, 2004 at 17:19 UTC | |
|
Re: How to display only certain fields during dynamic HTML generation?
by dws (Chancellor) on Oct 23, 2004 at 05:10 UTC |