Project

General

Profile

« Previous | Next » 

Revision 2636

Added by sgarg almost 19 years ago

bug fix so that error is displayed if station or reserve is not selected

View differences:

register-dataset.cgi
581 581
        unless hasContent($FORM::providerSurName);
582 582
    push(@invalidParams, "Dataset title is missing.")
583 583
        unless hasContent($FORM::title);
584
    push(@invalidParams, "Organization name is missing.")
585
        unless (hasContent($FORM::site) || $FORM::site =~ /elect/ ||
584
    push(@invalidParams, $usite." name is missing.")
585
        unless ((hasContent($FORM::site) && !($FORM::site =~ /^Select/)) ||
586 586
                $FORM::cfg eq "nceas");
587 587
    push(@invalidParams, "First name of principal data set owner is missing.")
588 588
        unless hasContent($FORM::origNamefirst0);

Also available in: Unified diff