Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Fields dependency while editing

phpMyEdit General     Fields dependency while editing
Post new topic   Reply to topic    
 
hsicard     Joined: 22 Oct 2003   Posts: 17  
Post Posted: 2006-12-20 13:25
Back to top  Reply with quote     

I wonder if someone found a way to implement a dependency between fields while editing.
Here is a simple example to explain the type of functionality I would like to implement (I have much more complex and real needs, but it's just to give an idea of what I mean by fields dependency) :
- type of client: firm / individual
- name of the firm:
- name of the contact:
If the field "type of client" is set to "individual", then I want the field "name of the firm" to be deactivated.
Or if a user starts filling something in "name of the firm", then "type of client" would be automatically set to "firm".
Of course I could use triggers to ensure the coherency of information filled in, but I would prefer having a more direct dependency using probably a piece of javascript.
Any experience on that?
Thanks,
Hugues
(extremely satisfied with phpMyEdit and its evolutions since 2001...)

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy