Hi Juanita:
the problem is that the function - register_onclick(event) isn’t closed.
By this i mean that you need to put a ‘}’ character after the catch statement before the last exported function. The Wix Editor is probably flagging an error at this point also.
Basically the javascript interpreter thinks that the function showdashboard_onclick is inside theregister_onclick(event) function and so doesn’t like seeing an export function embedded in another function ![]()