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

    (@codepeople)

    Hi,

    Yes, of course, you should insert a control “Instruct. Text”, and then enter a HTML tag in one of attributes: “Field Label” or “Instructions for User”. For example:

    <img src=”…”> or <audio>…</audio> or <video>…</video>, etc.

    Best regards.

    Thread Starter tannershaffer1

    (@tannershaffer1)

    Thank you it worked

    Thread Starter tannershaffer1

    (@tannershaffer1)

    Hi,

    Sorry I have another question.

    Is there a way to make the dependencies in the checkboxes/ dropdown menus have the function of “if selected then hide.”

    Thanks for the help

    Plugin Author codepeople

    (@codepeople)

    Hi,

    The dependencies work in the other direction, the dependent fields are shown if the choice is selected, but you can set the field as dependent of the other choices in the dropdown except the choice to hide the field.

    Best regards.

    Thread Starter tannershaffer1

    (@tannershaffer1)

    Hi,

    Thank you for all your help. Is there a way to require two dependencies in order for a value to show?

    thanks

    Plugin Author codepeople

    (@codepeople)

    Hi,

    If you want show some fields depending to the values of multiple fields in the form, you should use some tricks. For example, suppose you want display the fieldname2 if the fieldname1 and the fieldname3 have the values 4 and 5, respectively (the values and field names are hypotheticals). First, assign a class name to the fieldname2 through the attribute “Add Css Layout Keywords”, the class name will be used to identify the field, for example myclass.

    Now, in any of equations in your form, display or hide the field depending of the other two fields values:

    (function(){

    if(fieldname1==4 && fieldname3==5) jQuery( ‘.myclass’ ).show();
    else jQuery( ‘.myclass’ ).hide();

    // The rest of equation here…

    })()

    Best regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding Media’ is closed to new replies.