![]() |
Dynamically changing REQ_* inside a datamanager
I am writing my own DM, which i want to have certain fields required when other certain fields are set a certain way.
Is it possible to manipulate the $validfields array changing REQ_NO to REQ_YES depending on certain input into other fields? I guess if it was i could use VF_METHOD and use verify_fieldname for the "requirement changing" field to modify the REQ's of other fields? The other fields would probably have to have a verify as well which bombs out if the major field isnt set first (if !$this->setfields['majorfield'] -> error()) Is it worth bothering? |
All times are GMT. The time now is 07:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|