version 1.9, 2004/04/20 18:15:55
|
version 1.10, 2004/04/21 18:32:56
|
Line 102
|
Line 102
|
</eval> |
</eval> |
<string nextstate="CHOOSE_STUDENT_LEVEL" variable="WEIGHT"> |
<string nextstate="CHOOSE_STUDENT_LEVEL" variable="WEIGHT"> |
<validator>if ($val !~ /^[1234567890]+(\.[1234567890]+)?$/) { |
<validator>if ($val !~ /^[1234567890]+(\.[1234567890]+)?$/) { |
return '"' . $element->getValue() . '" is not '. |
return &mt('"[_1]" is not an acceptable weight. Weight must be a positive number.',$element->getValue()); |
'an acceptable weight. Weight must be a positive number. ';} |
} |
return undef; |
return undef; |
</validator> |
</validator> |
</string> |
</string> |