This topic is locked

Grey out fields

9/17/2014 11:04:03 AM
PHPRunner General questions
R
rlee6087 author

I want to have a field greyed out and inactive unless another field is checked then I want it normal and active. How can i acheive this please, thank you.

Sergey Kornilov admin 9/17/2014

See this example for inspiration:

http://xlinesoft.com/phprunner/docs/show_dropdown_list_of_us_states.htm
Instead of hiding the whole edit control you can disable it or make it readonly.

Here are relevant topics from Javascript API manual:

http://xlinesoft.com/phprunner/docs/makereadonly.htm

http://xlinesoft.com/phprunner/docs/ctrl_setdisabled.htm