Hello.
How can I RE-POPULATE the $QData{} fields in Customer.pl form after failed
validation?
I think I found where the $QData{} data is referenced for the template:
Kernel/Output/HTML/Generic in Output().
To begin, I created a new variable in 'CustomerInterface.pm':
my %Reload_Params = %GetParams;
This works fine in recalling all of the user's inputs.
Now, I'd like to somewhere define something like, '%QData = %Reload_Params'
in order for the form to reload the Customer.pl form with the customer's
input, but I'm not sure where or how, especially since they are in 2
different packages. This statement, of course, generates an error because
'%Reload_Params' needs a package reference.
Should the 'tie' statement be used? If so, where? Should another method be
used?
Since I've added more fields to the 'Customer.pl' form, it's a turnoff if
there is a form validation error and the customer has to re-input all of the
values.
Thanks in advance.
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support orr consulting for your OTRS system?
=> http://www.otrs.com/