Slate Instance | TUV |
Requestor/Reporter | Patricia LaFleur |
TTS Staff | Helen Williams |
Date | 1/11/2024 |
Status | COMPLETE |
Bug Description | After a student registers to attend an interview day and returns to the registration link, there is an option to edit or cancel their registration, which one student used to reschedule on their own. The program doesn’t want them to be able to do this. |
Jira Link |
Troubleshooting/Research
I checked the KB and posted in Slack, but it appears that this is just a delivered feature that can’t be turned off.
It has nothing to do with the “allow rescheduling” option within the event/scheduler templates under Rescheduling (which were both deselected).
What happens is that the form registration link is used to access the form for the first time to register. After the user submits the form, they are taken to a confirmation page (configured in the Event Communications). However, if the student subsequently returns to the original form registration link, instead of displaying the form again (which Slate knows has already been submitted) the content at that URL is now the text of the confirmation page PLUS content beneath it displaying registratn information and two links to either edit the registration or cancel.
Resolution Steps
Since there isn’t a setting within Slate to make this happen, I realized it might be possible to do it using CSS/HTML, since the content of the confirmation event communication is also displaying on that page.
I used inspect element in my browser to find that the links to edit/cancel registration are in a div class action-links and the whole box is in a div class rsvp_details.
I tested adding the following CSS to a style tag in the header of the content for the confirmation page:
<head> <title>Cummings School of Veterinary Medicine - Tufts</title> <style type="text/css"> /* HIDE DIV IN FORM-LINK PAGE THAT DISPLAYS RSVP DETAILS AND ABILITY TO EDIT OR CANCEL */ .rsvp_details { display: none; } </style> </head>
… and it worked! It also works to swap out action-links for the CSS class instead of rsvp_details, however I decided it was best to hide the whole box.
Add Comment