Add OnChange to a field in Custom page.
Example:
[Field 1]
Type=droplist (or whatever type)
ListItems=MSSQL|MySQL
OnChange=DoStuffFunction
...
When the droplist is changed the function DoStuffFunction is executed, there I could e.g. let [Field X] be Enabled or Disabled
ingig