Re: [PHPLIB] default values: oohforms & select multiple From: Davor Cengija (davor <email protected>)
Date: 11/15/99

On Sun, 14 Nov 1999, Bob Strouper wrote:

[...]
        I'm doing it like this:

<?php

        /* if $image_menu doesn't exist, we asume the page is opened
        for the first time, not submited and the validation failed */
        
        if(!$image_menu) $image_menu="defaultvalue";
        
        $f->load_defaults();

        $f->show_element("image_menu");

?>

-- 
      v
Davor Cengija
davor <email protected>
===================================
"Please allow 30 days for delivery"

- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.