in reply to Re: Mandatory Fields
in thread Mandatory Fields

Hi, I have just tried:
$Mandatory_Fields= '*' . join( '*', 'Customer Name', 'Customer Email', 'Phone Number', 'Payment Method', 'BillingAddressLine1', 'BillingCity', 'BillingPostCode', param( 'payMethods' ) eq 'Credit Card' ? qw( CardStartDate CardIssueNo CardSecurityCode ) : () );
But I am getting an internal server error when trying it out. Any ideas please?

Replies are listed 'Best First'.
Re: Re: Re: Mandatory Fields
by ehdonhon (Curate) on Jun 26, 2003 at 00:38 UTC

    Try running:

    perl -c scriptname

    Internal server errors are usually the result of your code not compiling. If that is the case, running perl -c will give you a more helpful error message.