Hello,<br>I hav written 3 scripts. All with a little bit of other output.<br>What i want to do is let the script decides which piece it has to read. (you know, if/ else etc.) The 'problem' is that the script has to 'look' to the value of an ENUM (i've got an ENUM with three choices) and then decides which part to read. Even if the ENUM isn't selected.<br>I will try to describe a example:<br>1.Searchform:<br>- two checkboxes (values: 'y','n')<br>- one ENUM with name: work(values: self, employee, nowork)<br><br>2. Output form:<br>With the following results displayed:<br>if($work = 'self'){<br>Privat address:<br>Business address:<br>Married:<br>Children:<br><br>}else if($work = 'employee'){<br>Privat address:<br>Boss' address:<br>Married:<br>Children:<br><br>}else if($work = 'nowork'){<br>Privat address:<br>Married:<br>Children:<br>}<br><br>As you can see, the output has to be different of which 'persons' are selected. (but even if the ENUM option isn't selected in the searchfield.)<br>Who can help me?<br><br>Joep van Schaik<br>