• Resolved jozzay

    (@jozzay)


    How can I number the questions without hard coding them? I am creating a form with 265 questions. So I want them to be able to be automatically numbered when I add or remove a question.

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

    (@codepeople)

    Hello @jozzay

    Thank you very much for using our plugin. The solution depends on your form structure. Assuming the questions in your form are emulated with radio button fields. Their labels are the questions, and the choices are the possible answers. Enter the style definition below through the “Customize Form Design” in the “Form Settings” tab (https://resources.developers4web.com/cff/images/documentation/form-settings-tab.png):

    #fbuilder .cff-radiobutton-field {
      list-style-type: none; 
      counter-increment: css-counter 1;	
    }
    
    #fbuilder .cff-radiobutton-field:before {
      content: counter(css-counter) ". ";
    }

    Best regards.

    Thread Starter jozzay

    (@jozzay)

    That’s perfect. Thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to number questions’ is closed to new replies.