Forum Discussion
Available Now - Set Completion Requirements
Hello everyone đ
You can now set completion requirements for Code blocks! This links them to Continue buttons, just like other block types.
To do so:
- Add a Code block to your course.
 - Toggle âSet completion requirementsâ on.
 - Copy and paste the revealed code snippet into your project.
 
Note: This will only work with Continue buttons that have an appropriate completion type set (e.g. âComplete block directly aboveâ).
Learn more here. Let us know about your experience! We are monitoring these forums as well as the Share feedback survey.
Thank you!
Kyle
6 Replies
- ded2Community Member
Does the completion element only work in zipped HTML code files? I got it to work this way (I had some images in the file), but it didn't seem to work when I just cut and pasted HTML with the snippit code without zipping the file. Thanks!
 - PaulAldersSuper Hero
Yess!!! The update that I was waiting for. Iâm working on a few demos to share. One of these is a reflection panel with a text entry field. An interaction that people mostly skipâŚwith this update!? No way, Jose! We need your reflection ;)
 - KatieWood-763d1Community Member
I'm not clear on where the completion code snippet should be pasted into the existing code--can you clarify? And can we do this directly in Rise if we have the original code already pasted in the code block?
Great question!
This snippet of code tells Rise that the block is âcomplete.â Where you add it depends on how your interaction works.For example, if youâre building a personality quiz with a Code block, you might run this line of code right after learners see their quiz results.
If youâre comfortable editing your own code, you can add it directly in the Add code text editor.
Alternatively, if youâre using a GPT to help build your experience, you can explain what this snippet does and ask it to insert the code in the appropriate place.
We'll be adding examples to our "getting started" course soon!- KatieWood-763d1Community Member
Thank you. After posting my question, I did end up asking ChatGPT exactly where to put the snippet and it showed me and that did the trick. :)
 
 
Related Content
- 20 days ago