• Hi All,

    I’ve to create a survey site that exactly looks like in the reference site.
    I used some survey plugins to do the sample questions but the issue is the last grid multiselect question how can I do that please help me with the resolution.

    • This topic was modified 5 years, 6 months ago by Raakesh.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The multi-select field you want to replicate is a series of normal form checkboxes with labels. The checkboxes are hidden with CSS, but they still collect and transmit their status with other form fields.

    Because we cannot expect users to click hidden checkboxes, we add JavaScript listeners to the labels. On click, script toggles the checked attribute and a particular label class on and off. The class determines whether the label has a gray or colored background.

    A well constructed jQuery statement can handle all such instances in one code block by referring to the clicked element with the this keyword.

Viewing 1 replies (of 1 total)
  • The topic ‘Need to create a survey site using the reference website.’ is closed to new replies.