in reply to How to retain popup_menu selection between form submission

Please help me on how can I retain that Case-I selection as well when the page is submitted in Case-II and reloaded.

Its simple, save the state somewhere,

my $yo = LoadUserSession($user); ... if( $action == 'page-12-form1' ){ $yo->save_param( $query, [qw/ form1-ro form1-sham form1-bo /] ); } elsif( $action == 'page-12-form2' ){ $yo->save_param( $query, [qw/ form2-ro form2-sham form2-bo /] ); }

Now the server knows about the user and what forms hes submitted, and you can request this information at any time