XF 2.3 Custom Field Dependent on anothers Custom Field Input

Motobaka

Active member
Hello there,

Is it possible to have a Custom Field on a Thread be dependent on the input of another Custom Field

Example:

1) Active/Inactive Drop down menu
Answer: Active
2) Active Tables
Answer: 1
3) Waiting
Answer: 3

If Active/Inactive is set to Inactive then Active Tables and Waiting changes to 0.
 
and i believe was said not possible without add on.
It is, but it would be a template modification that would be a multi-step process, so the add on makes it more convenient to do so.

With template edits, you could propose the first question, and then once that is set, show the next question to set, etc. It would just make it a hassle and would probably not be used over the add on, since it would update right away unless there's a way to call the fields (hidden until answered) with Javascript, but that's beyond my knowledge (i.e., 1) Active/Inactive Drop down menu, once "Active" is selected, display the other custom field to be unhidden with 2) Active Tables), or if "Inactive" is selected, show a different custom field). Also, the add on would probably cross-check the fields to make sure if "Active" is set, the follow up question couldn't be set any different than 1 for "Active Tables" (like they couldn't modify the source code to inject a different value for the hidden field).
 
Back
Top Bottom