This topic is locked

Enableing and Disabling Fields dependent on Lookup

10/1/2007 5:43:23 PM
PHPRunner General questions
B
barbary author

Dear,

I'm making an Outage Tracking System database.

and I have a field that should be identified first " Type of Problem".

When user chooses "HOME" for example, the fields shown refers only to this problem like "Address". All other fields should be hidden.

So, I just need the steps in details to use with PHPRunner.

Rellay I do appreciate your effort.
BR

Mahmoud Ibrahim

J
Jane 10/2/2007

Mahmoud Ibrahim,
to hide some filed on the add/edit pages using JavaScript you need to edit BuildEditControl function in the generated include/commonfunctions.php file manually. You should be familiar with JavaScript for that.

Here are some helpful links:

http://www.w3schools.com/htmldom/prop_style_display.asp

http://www.devx.com/tips/Tip/13638

B
barbary author 10/3/2007

Many Thanks for Your Reply

But, really I need more help, like give me an example code.

please, I really need this very bad.

Your help is much much appreciated
Mahmoud