• Resolved digiblogger

    (@digiblogger)


    Hello there,

    again some ideas from me ??

    Power2Sliders
    It would be great to have the option to set an option list for sliders too.
    For example, set a slider from 1 to 5 and set labels for 1=bad, 2=boring, 3=ok, 4=great, 5=amazing

    Operations
    actually, your plugin allows to show fields as dependency to values. Thats great.
    I would loove to have some more operations that can be performed, like:
    – disable field
    – disable option
    – do calculation
    – set value of other fields
    and things like that

    still love CFF

    ?? Digiblogger

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @digiblogger

    All the features described can be implemented with the calculated fields.

    For example, the slider. If you leave empty the “Field Caption” attribute in the slider’s settings (assuming it is the fieldname1) and insert just below this field a calculated field, with the equation:

    
    (function(){
    switch(fieldname1)
    {
    case 1: return 'bad';
    case 2: return 'boring';
    case 3: return 'ok';
    case 4: return 'great';
    case 5: return 'amazing';
    }
    })()
    

    You would have the same result. Even, if you want make the integration more organic, you can assign to the calculated field a custom class name, for example: my-slider-caption

    and define this class as follows (through the “Customize Form Design” attribute in the “Form Settings” tab):

    
    #fbuilder .my-slider-caption label{display: none !important;}
    #fbuilder .my-slider-caption input{border: 0 !important;background: transparent !important;}
    

    For the other cases, the process can be implemented through the equations too, some of them with a little more of effort, but other is simply to call an operation. For example, if you want to assign the value: 20 to the fieldname123 field through an equation associated to a calculated field, the code would be as simple as:

    
    getField(123).setVal(20);
    

    More information in the following link:

    https://cff.dwbooster.com/documentation#managing-fields-module

    Best regards.

    Thread Starter digiblogger

    (@digiblogger)

    The way you support people is impressive. Never made an experience similar to this. AWESOME. Thank you

    Plugin Author codepeople

    (@codepeople)

    Hello @digiblogger

    It has been a pleasure.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ideas: More dependencies and Operations’ is closed to new replies.