add_set_of_text_area; if ( $ENV{'QUERY_STRING'} =~ /^Button_name/ ) { add_set_of_text_area; # this displays 3 text area fields }