Jump to content

pconkie

Members
  • Posts

    591
  • Joined

  • Last visited

Personal Information

  • School
    Backwell

Recent Profile Visitors

3,566 profile views

pconkie's Achievements

  1. I've done a widget called "Check List" - I'm using it to keep track of learning objectives (no we don't have FrogProgress). but it could be used for lots of other things too. Faster and easier for the typical member of staff than FrogForms. Contribute permission required for students to submit their data to the teacher. Here is a 30 second video showing a new list of learning objectives being created (most of us have these lists already in word / excel, so wanted to literally be able to paste them all into frog in one go). new list.mp4 Here is a student filling a list in: fill out.mp4 Finally, needed a way of analysing all of the student responses. Here is a frog app called "Check Lists" which allows you to pick your list and review the submitted responses. No video because of real student names / pictures (blanked out on image below). I've borrowed heavily from the Frog Markbook for this part...
  2. If you find the uuid of the student profile group you could use one of the group apis to return all students. You might need to call a second api to get the specific details about the student you want (can’t remember what attributes are returned in the group api) but you can do this in batches rather than one at a time. You will have to go deep into promises and asynchronous code for this - argh!
  3. Since we are nominated for a sharing award... Here is our options form not letting students pick the same subject more than once 2021-02-16 14-37-29.mp4 And here is the code that does it: <style> a.disabled { pointer-events: none; cursor: default; background-color:#999 !important; } </style> <script> var $form; var that = this; var values = []; setTimeout(function() { var $site = that.element.closest(".sites-site-content"); $form = $site.find("div[data-name='Widget.Forms']"); $form.off("select"); $form.off("input[type=radio]"); $form.on("change", "select", function() { addAlltoArr(); checkArr(); }); $form.on("change", "input[type=radio]", function() { addAlltoArr(); checkArr(); }); }, 2000); function addAlltoArr() { values = []; $form.find("select").each(function() { if (this.value != "") { values.push(this.value); } }); var selected = $form.find("input[type='radio']:checked"); if (selected.length > 0) { selected.each(function() { values.push($(this).val()); }); } } function checkArr() { if (hasDuplicates(values)) { alert("You have chosen the same subject twice.\nYou will not be able to save your choices until you fix this.") $form.find("#submit_form").addClass("disabled"); } else { $form.find("#submit_form").removeClass("disabled"); } } function hasDuplicates(array) { var valuesSoFar = Object.create(null); for (var i = 0; i < array.length; ++i) { var value = array[i]; if (value in valuesSoFar) { return true; } valuesSoFar[value] = true; } return false; } </script>
  4. I changing it to a single submission with no editing and told parents to make sure they were sure before submitting! Of course we have had some emails asking for changes already, but so far this has been minimal.
  5. Added a html widget below the form. Added code to that widget to do the extra validation checks not built into frog forms. Would have been a nice solution had not the editing of frog forms been broken. Must have missed that announcement from frog...
  6. Need to check, but this might break frog seats too
  7. Sorry @Graham Quince I’m still not sure what constitutes a duplicate? Is it that you will not allow a record with the same user_uuid, target_uuid and alias? If so please don’t do this! Kids tend to get into trouble more than once! We are using one data store record per behaviour incident. Actually we use alias for the subject, but still, kids tend to get into trouble more than once per subject. At least a year of work is in jeopardy here! This allowed us to finally break free of sims and build our own behaviour system without any constraints. I can send you some example records for the developers to have a look?
  8. How are you defining ‘duplicate’ Graham? Which fields have to be the same? We have moved our entire behaviour system to frog and would like to be reassured that this change won’t break it. Thanks.
  9. Thanks. As long as you don't have to enter a CAPTCHA!
  10. Actually not just annoying, embarrassing when you have to explain the reason to parents.
  11. Thanks @ADTbut the data viewer doesn't have the same validation as that which we have added to the form. Annoying. I could have done this in frog code, google or MS forms if I had know!!!
  12. This is the error behind the scenes But when I take off "single form submission" they get to submit the form over and over again rather then edit their existing submission.
  13. @Graham Quince What does a single submission form setting mean. I want to know if i have set this correctly.
  14. There is a problem with this @Graham Quince The form forces them to choose different subjects. The dataviewer doesn't. For example we don't want them to pick Sociology twice or even three times!
  15. Thanks Graham. What's Access Control?
×
×
  • Create New...