top of page

Forum Posts

Brodwolfsky
Dec 19, 2019
In Coding with Velo
The User can upload image via the UploadButton which I will scale, to minimize the file, before saved in the database. The Wix Package Manager do not have any tool for that. Any idea how to easy scale the images? Perhaps simple Corvid/JavaScript coding?
0
1
36
Brodwolfsky
Sep 11, 2019
In Coding with Velo
How can I do that via Corvid-Coding, to say that for example the RichtText-Box valiation failed and now please show it to the user. I can only use JavaScript. How can I do that? And how work those two function? resetValidityIndication( ) updateValidityIndication( )
0
3
26
Brodwolfsky
Sep 10, 2019
In Coding with Velo
I have this strange issue and I don't know how to fix this. In the Edit- and Preview-Modus it looks great. But in the Published-Version the gapes between the boxes are gone. Why? Anybody an idea what to do? Now I am missing the CSS to give the Boxes some Padding around. :-(
BUG - Padding/Margin missing (SOLUTION FOUND) content media
0
12
445
Brodwolfsky
Sep 06, 2019
In Coding with Velo
I have "multiple reference" fields in my collection and need to show the values on the page. How can I do that?
0
1
64
Brodwolfsky
Jun 18, 2019
In Coding with Velo
I want to filter my articles based on their months. There is the getMonth () method, how can I apply it the best? Here my Try-Code: wixData.query("myDatabase") .eq("date".getMonth(), 1) // is not working .... ...
0
6
588
Brodwolfsky
Feb 17, 2019
In Coding with Velo
I hope the Title with the Picture say it all what I am looking for to do. :-)
Textarea filled from Database and splitted   content media
0
3
29
Brodwolfsky
Feb 17, 2019
In Coding with Velo
Hi Wix-Forum I try to Filter a List with those 2 referenced row. For that I have 2 Dropdown (Responsable is for Guide & Region for Region) and 1 Dataset that is connected to the List To fill out the Dropdowns is use this Code and that works perfect: $w.onReady(() =>{ loadRegion(); loadGuide(); }); function loadRegion(){ wixData.query('Region') .find() .then(res =>{ let options = [{"value": '', "label": 'Alle Regionen'}]; options.push(...res.items.map(regions => { return {"value": regions.title, "label": regions.title}; })); $w('#dropdownRegion').options = options; }); } function loadGuide(){ wixData.query('GuidesDB') .find() .then(res =>{ let options = [{"value": '', "label": 'Alle Guides'}]; options.push(...res.items.map(regions => { return {"value": regions.title, "label": regions.title}; })); $w('#dropdownGuide').options = options; }); } And the Code for the Filter: let lastFilterGuide; let lastFilterRegion; export function dropdownRegion_change(event){ filter(lastFilterGuide, $w('#dropdownRegion').value) } export function dropdownGuide_change(event) { filter($w('#dropdownGuide').value, lastFilterRegion) } function filter(guide, region){ if(lastFilterGuide !== guide || lastFilterRegion !== region){ let newFilter = wixData.filter(); if(guide){ newFilter = newFilter.contains('responsable', guide); } if(region){ newFilter = newFilter.contains('region', region); } $w('#datasetCollection').setFilter(newFilter); lastFilterRegion = region; lastFilterGuide = guide; } } But if I choose something out of one of the Dropdowns everything dissapear and the List is blank - so the filter is not working. I have read that referenced field so not working, how can I fixt that? Hope someone can help.
Repeater-Database with 2 Referenc field to Filter content media
0
8
62

Brodwolfsky

More actions
bottom of page