The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
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? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|