Additional Settings For Custom Profile Fields [1.2]
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #73
RE: Additional Settings For Custom Profile Fields
(08-08-2012 05:56 PM)leefish Wrote:  Is that possible? If option A is chosen in customfield 1 then customfield 2 becomes visible without a page reload?
You can use javascript for that. Put it inside the Display Format. By default, MyBB doesn't assign an ID for each input. Because this plugin doesn't touch a required field, so an ID assigned for a non required field only by this plugin.
For Option Buttons, the ID is fidX_Y, where X is the custom profile field ID, and Y is the option order (the first option is 1).
For other input type, the ID is xtpf_fidX, where X is the custom profile field ID.

Then maybe you need to create a plugin to validate it in a server side.

(08-08-2012 05:56 PM)leefish Wrote:  my idea was later to query on that and give some silly stats like "did you know that x percent of members use a house cue"
Please remember that MyBB always assign TEXT as data type for each custom profile fields, no matter what type the input is.

08-09-2012 05:16 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Additional Settings For Custom Profile Fields - RateU - 08-09-2012 05:16 AM

 Standard Tools
Forum Jump: