Hello Jean-Philipp,

On Wednesday 12 May 2004 02:02, Jean-Philippe LIOT wrote:
> i suggest using the search form - as for the adress data - to fill the
> ethnic origin using the caretype_ethinc_origin table.

Yes, that is a good method. The table was actually planned for that method but 
unfortunately it was never implemented. Please take it over.

> Another suggestion : what about using a list for the field 'title' instead
> of an open text. It could be more easy to fill the form in the person
> registration.

Yes. That is good. Please insert the new lines of code in the script. However, 
please try to make the display language dependent. I would suggest that the 
list option value is the same the as the php variable name for the title.

For example:

<option value ="sir"> <?echo $sir ?> </option>
<option value ="Dr"> <?echo $Dr ?> </option>

And then you just add on the language tables the corresponding values of the 
variables, I guess on the lang_??_person.php table:

$sir = 'Sir';
$Dr = 'Dr';

Best regards,
Elpidio



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Care2002-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to