top of page

Forum Posts

Vamsi
Feb 15, 2020
In Coding with Velo
Hi, I am having a submit button linked to a dataset and upon submit succedded i want the page to be redirected to memberspage but when i do that i am getting the following error: Wix code SDK error: undefined/myoffers is an unsupported url Please help me solve it.
0
1
102
Vamsi
Dec 04, 2019
In Coding with Velo
Hi, I'm trying for a full screen loader like one the Wix has in the attached image and video. Please help me how to do it. Attachment:
How to make a Full screen preloader in Wix. content media
0
1
234
Vamsi
Nov 22, 2019
In Coding with Velo
Hi, I'm having reference elements in my wix database and i have a dropdown linked to those values via wix-code in one of my pages and its displaying the reference ids instead of cities names/labels code for the following dropdowns : import wixData from 'wix-data'; $w.onReady(function () { uniqueDropDown1(); }); function uniqueDropDown1 (){ wixData.query("offers") .limit(1000) .find() .then(results => { const uniqueTitles = getUniqueTitles(results.items); $w("#dropdownName1").options = buildOptions(uniqueTitles); }); function getUniqueTitles(items) { const titlesOnly = items.map(item => item.city); return [...new Set(titlesOnly)]; } function buildOptions(uniqueList) { return uniqueList.map(curr => { return {label:curr, value:curr}; }); } } export function genre_change(event, $w) { uniqueDropDown2(); $w("#dropdownName2").enable(); } function uniqueDropDown2 (){ wixData.query("offers") .contains("city", $w("#dropdownName1").value) .limit(1000) .find() .then(results => { const uniqueTitles = getUniqueTitles(results.items); $w("#dropdownName2").options = buildOptions(uniqueTitles); }); function getUniqueTitles(items) { const titlesOnly = items.map(item => item.malls); return [...new Set(titlesOnly)]; } function buildOptions(uniqueList) { return uniqueList.map(curr => { return {label:curr, value:curr}; }); } } please help me sort it out.
Dropdown for Reference fields  content media
0
4
259
Vamsi
Nov 22, 2019
In Coding with Velo
Hi, My wixquery is not working properly the query used to result all the items which expirydate is older than todays date and used to delete all the items in one go ? but now its not working properly its just giving only one item and deleting only one item. i dont know what went wrong, please hep me solve this movies Database i have 2 items in my database for which expirydate is lesser than today's date output in preview mode : it should be resulting 2 items but it resulted only one "2019-11-22T06:49:23.415Z" Movie Reviews Line 69 {...} "2019-11-02T18:30:00.000Z"expirydate: "wix:image://v1/e73102_ddf09fac3bbb401eba8de2154463c312~mv2.gif/introducing-coupons-1.gif#originWidth=800&originHeight=600"movieimage: "f3ecefe8-cf08-4bc7-8d00-0be338d1c74a"_id: "6d2fb79f-26ab-457f-85a3-b3d778cc1701"_owner: "2019-11-21T19:50:06.743Z"_createdDate: "2019-11-21T20:02:53.766Z"_updatedDate: "2d32bdba-16ee-4455-b98e-4670762e8188"language: "test-2"title: "/movies/test-2"link-movies-title {...} "2019-11-02T18:30:00.000Z"expirydate: "wix:image://v1/e73102_ddf09fac3bbb401eba8de2154463c312~mv2.gif/introducing-coupons-1.gif#originWidth=800&originHeight=600"movieimage: "f3ecefe8-cf08-4bc7-8d00-0be338d1c74a"_id: "6d2fb79f-26ab-457f-85a3-b3d778cc1701"_owner: "2019-11-21T19:50:06.743Z"_createdDate: "2019-11-21T20:02:53.766Z"_updatedDate: "2d32bdba-16ee-4455-b98e-4670762e8188"language: "test-2"title: "/movies/test-2"link-movies-title: Movie Reviews Line 79 Item Removed Please help me understand where im doing it wrong.
0
2
68
Vamsi
Nov 05, 2019
In Coding with Velo
Hi all, I have a submit button that's working in preview mode (mobile/desktop). In the live site its working fine on desktop but its not working on mobile (chrome, native browser ). I checked in every browser its not working may be a bug. please help me solve it.
0
1
445
Vamsi
Oct 23, 2019
In Coding with Velo
Hi, I am applying interactive hover box on top of a repeater item in the gallery , but it's not applied for all the repeater items in the gallery. So, how to apply an hover effect so that it applies on all the repeater items in the gallery. Please help me solve it .
0
1
1k
Vamsi
Oct 23, 2019
In Coding with Velo
My dynamic page will load my data from a data set item (name : moviesdataset id:#moviesdataset) and i have form that is common for all the dynamic pages. Action item : while submitting the form i want the title of that page to be also stored along with the form response. i'm able to get the page title but unable to push it to the collection (name : moviereviews id:#testimonials02) Please help solve it My code import wixData from 'wix-data'; $w.onReady(function () { var movieTitle; $w("#moviesdataset").onReady( () => { let itemObj = $w("#moviesdataset").getCurrentItem(); console.log("The result if the current item:" +itemObj); movieTitle = itemObj.title //get the relevant field key console.log("The title is:" +movieTitle); }); let data = { "title" : movieTitle }; console.log("data is :"+ data); wixData.insert('moviereviews', data); });
0
7
524

Vamsi

More actions
bottom of page