This topic is locked

Readonly dependent Lookup field

7/3/2009 9:38:19 AM
PHPRunner General questions
J
jdu001 author

Hello,
I use a dependent field (Field1) from a lookup table. However, this field however is editable and I want it to be read-only.

Field2 is another edit-field.
I have put JavaScript in the page before the </BODY> tag.
<script type="text/javascript">

document.forms.editform.value_Field1.disabled = true;

document.forms.editform.value_Field2.disabled = true;

</SCRIPT>
The result is Field1 is still editable and Field2 is read-only.
Could anyone help me ?
Thanks
Jo van Duin

J
Jane 7/3/2009

Jo,
I recommend you to publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.

J
jdu001 author 8/5/2009

Hello,
I used for the field the option "Edit box with AJAX popup". I can't disable this kind of field.

When I change this option to "Dropdown box", I can disable the field.
So the problem is solved.
Greetings,
Jo van Duin