top of page

Forum Posts

tali
Mar 24, 2021
In Coding with Velo
Hi, I have a custom sign up form in which I used code to prompt the forgot password window. This worked fine for a couple of weeks and then stopped working. WIX Technical Support claim the issue is with the code and if they remove the code it works fine. Only if the code is removed then my members cannot reset their password. The code I used is from Nayeli - Totally Codable: import wixUsers from 'wix-users'; import wixWindow from 'wix-window'; $w.onReady(function () { $w("#forgotPassword").onClick( (event) => { //wixWindow.lightbox.close() wixUsers.promptForgotPassword() .then( ( ) => { // } ) .catch( (err) => { let errorMsg = err; }); }); $w("#registerButton").onClick( (event) => { wixWindow.lightbox.close(); wixWindow.openLightbox("approval"); } ); } ); In the meantime I have had to reverse back to the default sign up. Any help is highly appreciated! Tali
0
0
28
tali
Oct 20, 2020
In Coding with Velo
I have dynamic pages and one of the buttons is linked to the "URL" field type of my database collection. The link works fine from the dynamic page only it opens in a new window. Is there any way to make it open in the same window?
0
8
74
tali
Aug 05, 2020
In Coding with Velo
Hi, is it possible to create a form that will send an email to a specific address depending on the geo location chosen on the form? We have regional managers and what we are trying to accomplish is to create one support form (ticket submission) that will send the email of the form submission to the relevant address depending on the country chosen on the form. Any help is much appreciated! 😁
0
1
54
tali
Jul 01, 2020
In Coding with Velo
Hi, not a coder so go easy on me. I'm working on a website and I managed to create a repeater with a zoom-in/zoom-out effect when mouse is hovered over the image. My problem is I have 5 elements in the repeater and the alignment does not look nice so I spit into 2 repeaters so I can align 3 elements on top and 2 on the bottom. The problem is now I can't figure out how to make my code work for both repeaters... The code for one repeater: import { timeline } from 'wix-animations'; $w.onReady(function () { expandIn(); }); function expandIn() { const repeating_image = $w('#button1'); const timelines = {}; const easing = 'easeInOutBack'; repeating_image.onMouseIn((event) => { const $item = $w.at(event.context); const image = $item('#image16'); const id = event.context.itemId; if (!timelines[id]) { timelines[id] = timeline().add(image, { duration: 700, scale: 1.15, easing }) } timelines[id].replay(); repeating_image.onMouseOut(() => timelines[id].reverse()) }); } The code I tried for multiple repeaters that is not working: import wixAnimations from 'wix-animations'; let timeline1 = wixAnimations.timeline(); let timeline2 = wixAnimations.timeline(); $w.onReady(function () { expandIn(); }); function expandIn() { const repeating_image1 = $w('#button2'); const repeating_image2 = $w('#button3'); const timelines = {}; const easing = 'easeInOutBack'; repeating_image1.onMouseIn((event) => { const $item = $w.at(event.context); const image = $item('#image17'); const id = event.context.itemId; if (!timelines[id]) { timelines[id] = timeline1().add(image, { duration: 700, scale: 1.15, easing }) } timelines[id].replay(); repeating_image1.onMouseOut(() => timelines[id].reverse()) }); repeating_image2.onMouseIn((event) => { const $item = $w.at(event.context); const image = $item('#image18'); const id = event.context.itemId; if (!timelines[id]) { timelines[id] = timeline2().add(image, { duration: 700, scale: 1.15, easing }) } timelines[id].replay(); repeating_image2.onMouseOut(() => timelines[id].reverse()) }); } Any help is much appreciated 😀
0
14
177
tali
Jun 10, 2020
In Coding with Velo
Hi, I'm working on a site and until a couple of minutes ago the code was working fine and now it will not work on the editor (site not live). I get no error on the code either.
0
1
21

tali

More actions
bottom of page