• Resolved arnab28

    (@arnab28)


    I am using accordion in Cff form. I want to use symbols to expand the accordion.
    i am using this jquery code
    please check , let me know where i am done mistake..
    <script>
    jQuery(document).on(‘click’, ‘#fbuilder .accordion>fieldset>legend’, function(){
    jQuery(‘#fbuilder .accordion>fieldset>div’).hide();
    jQuery(‘#fbuilder .accordion>fieldset>div>span’).removeClass(“fa-minus”).addClass(“fa-plus”);
    jQuery(this).siblings(‘div’).slideToggle();
    jQuery(this).children(‘#fbuilder .accordion>fieldset>div>span’).removeClass(“fa-plus”).addClass(“fa-minus”);
    });
    </script>

Viewing 15 replies - 16 through 30 (of 47 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    In my previous code, I taught you how to set a field as read-only or editable based on a condition.

    
    var f = getField(fieldname1|n).jQueryRef().find('input');
    f.prop('readonly', true);
    if(fieldname2) f.prop('readonly', false);
    

    Now, you can make the conditions as complex as you want.

    If you need that I implement your equations, do no hesitate to contact me through my private website: Custom Coding Service.

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Hello Sir

    I have a three-question here
    1) how to create a customize the alert message for some of the fileld.
    2)How to capture Text Area filed data in a calculated field. I capture text data but it’s showing like “\”Test facility\”” .
    3)How to change mandatory fill/error input alert system to only appear after submission.

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    If you need to customize your copy of the plugin, do not hesitate to contact me through my private website: Custom Coding Service

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Please answer my other two questions?

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    If the text area field is, for example, the fieldname1, and you want to capture it with the calculated field, the equation would be simply:
    fieldname1

    For additional questions, please, indicate the URL to the form’s page and the fields that participate in the process.

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Is like that i capture but calculated field value showing like “\”Test facility\””
    3)How to change mandatory fill/error input alert system to only appear after submission.

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    If you don’t include the link to the page and indicate the fields that participate in the process, I cannot check the issue with the equation.

    Concerning the validation rules, they are evaluated when the field loses focus, or the form is submitted. If you want to change this behavior, it would be required to edit your copy of the plugin.

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Can you help me why this Cff form not submitted. full up all the details after that form is not submitted, please help me what is the issue.
    https://bsbtest.assiduusinc.com/testing2/

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    I’ve tested your form, it was submitted fine, and I’ve received the confirmation email:

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    Can you help me how this formula I can use this cff plugin?
    IF(fieldname1=0,0,1) – this is an excel formul.
    How can I use this formula here?

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    In javascript the operator for equality is the double symbol == because the symbol = is used for assignment. So, the equation would be:

    
    IF(fieldname1==0, 0, 1)
    

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    I want to use this formula in the calculated field. is it possible to use?

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    Yes, of course.

    Best regards.

    Thread Starter arnab28

    (@arnab28)

    I am using PREC(IF(fieldname187==0, Unknown, fieldname187),2) code in a calculated field. but I am getting a result always 0 but I want an answer Unknown. help me where I am doing wrong?

    Plugin Author codepeople

    (@codepeople)

    Hello @arnab28

    In javascript the text values must be enclosed between single or double quotes. Second, the PREC operations rounds numbers, you should use it only with the numeric part of the equation.

    The equation would be:

    
    IF(fieldname187==0, 'Unknown', PREC(fieldname187,2))
    

    Best regards.

Viewing 15 replies - 16 through 30 (of 47 total)
  • The topic ‘Help’ is closed to new replies.