Gossamer Forum
Home : Products : DBMan : Customization :

Re: [Watts] Set permission on field ?

Quote Reply
Re: [Watts] Set permission on field ? In reply to
I already made it, but nevertheless THANKX.

I created the following if statement within the html_record_form which does the things I wanna to have. I did this for every field which should be handelt in this way.

if ( $rec{'Participant 1'} eq "") # Is the field empty ??
{
print qq| <TR><TD ALIGN="Right" VALIGN="TOP">1.Participant/Dept./Phone:</TD>
<TD VALIGN="TOP">&nbsp;<INPUT TYPE="TEXT" NAME="Participant 1" VALUE="$rec{'Participant 1'}" SIZE="40" MAXLENGTH="40"></TD></TR>
|;
} else {
print qq| <TR><TD ALIGN="Right" VALIGN="TOP">1.Participant/Dept./Phone:</TD>
<TD>&nbsp;$rec{'Participant 1'}</TD></TR><INPUT TYPE=hidden NAME="Participant 1" VALUE="$rec{'Participant 1'}">
|;
}
Subject Author Views Date
Thread Set permission on field ? KW 4487 Jul 11, 2003, 12:07 AM
Thread Re: [KW] Set permission on field ?
Watts 4396 Jul 11, 2003, 10:09 AM
Thread Re: [Watts] Set permission on field ?
KW 4381 Jul 13, 2003, 11:50 PM
Post Re: [KW] Set permission on field ?
joematt 4363 Jul 14, 2003, 6:36 AM
Thread Re: [KW] Set permission on field ?
Watts 4364 Jul 15, 2003, 1:05 PM
Post Re: [Watts] Set permission on field ?
KW 4353 Jul 15, 2003, 11:10 PM