• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Conditional fields (SC & AMS)

Alpha1

Active Member
AMS Premium
CAS Premium
EMS Early Adopter
IMS Premium
LD Premium
RMS Premium
SC Premium
UBS Premium
Conditional fields only display if a condition is met. For example:
If value for field_a = yes, then display field_b

This is very useful for fields that are only applicable for specific cases.

This function would also allow us to create one field that allows the user to hide many fields with one click in order to give the user a simpler version of the item / article creation page.

On my forum there are many power users who enjoy filling in many fields, but there are also many users who are put off by complex pages with many fields. I would like to cater to both. Conditional fields would be great.
 
You can do this already by using self placement fields. That is one of the more powerful uses of the self placement field type. Its a VERY powerful tool. Even tho its an advanced usage (unsupported), its really easy to use once you get the hang of it (Ask @C.Birch )
 
Amazing! Where can I find info about self placement fields?
 
Amazing! Where can I find info about self placement fields?
http://xenaddons.com/threads/how-to-place-showcase-custom-fields-in-templates.499/#post-4178

All you need to know is the xen syntax for the RAW value to use that as a switch. $item (that is the entire item array) .customfields (that is the entire custom fields array for the item .fieldid (the self place field ID) $item.customfields.myfieldid <--- thats IT you can use that in an IF statement to wrap something making it an ON/OFF switch. That is just one of many uses.
 
Yeps the self placement fields was a god send when they got added, before them i had to use html bbcode to add stuff to a listing, now i just fill a field in on a form whats so much better and neater and lets for normal users to be able to add the same data that before only admin could add due to the having to use html.
 
  • Like
Reactions: Bob
Back
Top