Jump to content
ADT

Reset a Poll via the page?

Recommended Posts

I was wondering if there was a way to reset a Poll on a page...  without needing to edit the page? 

So I've been building resources for next year which we share across the department.  I've been using polls on pages but thought it would be great if there was a way to press a hidden (visible to staff) which would show the results and then another one to reset the results for the next teacher??

Your probably going to say something like add the date viewer brick....  but wondered if it could be easier than that!!!

Just wondering.....  o and look no styling!!!! :P

@Graham Quince

Share this post


Link to post
Share on other sites

Well, you can use the Data-Viewer widget to access the Poll information - and point it to the poll directly.  The data-viewer also has the option to reset the poll too.

Share this post


Link to post
Share on other sites
20 minutes ago, Graham Quince said:

Well, you can use the Data-Viewer widget to access the Poll information - and point it to the poll directly.  The data-viewer also has the option to reset the poll too.

See i said you would say that...... 

Share this post


Link to post
Share on other sites
On 02/07/2019 at 12:19, ADT said:

See i said you would say that...... 

I haven't checked, but I assume pressing that button fires off an api call to clear the poll, in which case a html widget with a bit of javascript could do the trick?

Share this post


Link to post
Share on other sites
27 minutes ago, adamw said:

I haven't checked, but I assume pressing that button fires off an api call to clear the poll, in which case a html widget with a bit of javascript could do the trick?

See now that's a better answer...... :D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...