Hooks not working and no work around found..

Hello I have a form on a page { https://sarahmarti2.wixsite.com/new-site/new-nanny-registration-form }, I am receiving some information through check boxes. I want to convert value of checked boxes into the text written next to them and store it in database. (Later I want to retrieve these values and show them on a new page in a text box) To do this I am using Hook (insert before). But the hooks are not working. Can you check what is the problem? Are the hooks provided by Wix fully operational at this time? A work around for this was to have a multi select drop down through which people can select multiple values and it can be stored in database. But multi select feature is not available.
Regards
sarah

Hi Sarah

Have you read this article:

It shows you how to wire up a dataset, mapped to your data collection, to your check boxes so that when a check box is clicked the dataset is updated.
If you use this you can automatically set the values from the dataset when the [age loads as well as set values.

I had a brief look at your site but do not have access to your Editor so don’t know what your hook code looks like. Not being a Wix employee I can’t see what you have done. Feel free to post the code you have written for further advice.

Steve

Hey thank you so much for your advice. Here is an example of what I want to do, In example I try to change email address but hooks don’t work
export function NannyRegistration_beforeInsert(item, context) {
//TODO: write your code here…
let hookContext = context;
item.email="alpha@mail.com";
return item;
}
Actual Problem: When a check box is selected, I want to check it and replace its true or false with a string and store it in the database. Later I will take these values from database and display in a text area.

Yes I have started to see this problem (of a hook not firing on _beforeInsert) just in the last few days. This must be a bug?