top of page

Forum Posts

hlaw
May 20, 2022
In Coding with Velo
First, I have a box and text elements. Then I group the text inside the box and called #box1. Second I wrote a code when mouse in the box. Third, I wrote another code for mouse out the box. And here are the codes $w.onReady(function () { }); export function box1_mouseIn(event) {$w('#box1').show; } export function box1_mouseOut(event) {$w('#box1').hide; } Basically I wanted, when a mouse inside the box, the text and the box appear. And when the mouse is out of the box, text and box disappear. I have no idea why it doesn't work. Any help please. Thanks
0
2
137
hlaw
Mar 14, 2022
In Coding with Velo
I've noticed the new event seat assignment only good when the floor plan is ready. At the moment I am facing an event that cannot have the floor plan until all tickets are sold. The reason was to make sure how much money collected and to decide how many tables needed. Can anyone help? Any suggestion is greatly appreciated.
0
4
102
hlaw
Sep 08, 2021
In Coding with Velo
I had experienced numbers of failed triggered automation with my Pricing plan. When I contacted Wix support they told me in order to make it trigger properly the automation must set before the subscription. But there is a button for Sell a pricing plan's option in this plan. This allowed the the subscription to start at any time. Due to the COVID many of our members have not renew their membership. We decided to extend their membership for another year. Most of these members expiry dates were before the automation. As the result the triggers failed to work. And I was wondering anyone has these same experience. Or is there any solution to correct this situation?
0
0
20
hlaw
Oct 26, 2020
In Coding with Velo
I've a database collection named Regular Member. The total number of members is 67. It consisted of New Members (16) and Renewal Members (60). When I filtered the dataset to New Members, my total is still 67 instead of 16. I'm not good with code and any help will be greatly appreciated. Here is my code shown below wixData.query("paymentForm01") .count() .then( (num) => { let TotalRegularMembers= num;
0
3
14
hlaw
Oct 23, 2020
In Coding with Velo
I wish someone can help me with this. I'm not not so good in codes. My site is https://www.mascusa.com/membership-index. In this page I've 4 datasets connected to 4 databases. As you can see the table goes like this:- Regular Membership 67, Silver Membership 10, Platinum Membership 2 and Student Membership 3. But, lately I was asked to add another membership to be calculated and is called Total New Membership. At the moment I've codes as shown below and it works. Does anyone know how I can add code to calculate all the new members in these 4 database and shown in the table? Any help will be greatly appreciated. Here is my code shown below wixData.query("paymentForm01") .count() .then( (num) => { let allResults = num; $w("#regularTotal").text = allResults.toString(); } ); wixData.query("paymentForm012") .count() .then( (num) => { let allResults = num; $w("#silverTotal").text = allResults.toString(); } ); wixData.query("paymentForm013") .count() .then( (num) => { let allResults = num; $w("#platinumTotal").text = allResults.toString(); } ); wixData.query("StudentMembership") .count() .then( (num) => { let allResults = num; $w("#studentTotal").text = allResults.toString(); } ); wixData.query("paymentForm01") .count() .then( (num) => { let TotalRegularMembers= num; wixData.query("paymentForm012") .count() .then( (num2) => { let TotalSilverMembers= num2; wixData.query("paymentForm013") .count() .then( (num3) => { let TotalPlatinumMembers= num3; wixData.query("StudentMembership") .count() .then( (num4) => { let TotalStudentMembers= num4; let grandtotal = TotalRegularMembers + TotalSilverMembers + TotalPlatinumMembers + TotalStudentMembers ; $w("#grandTotal").text = grandtotal.toString(); } ); } ); } ); } );
0
3
20
hlaw
Jul 23, 2020
In Coding with Velo
Working on contact list is a nightmare. My club got more than 200 members. Every month I've to send email campaigns using the Wix's Shout Out. This will involve continuously changing member's status or details in the contact list. Due to the connection ( or whatever?), it was ready slow and sometime almost impossible. I wonder if there is another better way?
0
1
12
hlaw
Jul 21, 2020
In Coding with Velo
It's possible to create multiple hot spots link with one images only? Any help will be greatly appreciated.
0
2
1k
hlaw
Jul 16, 2020
In Coding with Velo
I am trying to create a membership form with 3 different prices for Platinum, Silver and Regular. I've noticed that it only allows one payment in one form. I've also noticed that I could use a Paid Plan App to achieve what I want but I just don't like this app because it only have limited fields to name and email only. If Wix Form unable to have more than one payment does anyone know the way around it other than I 've to use Paid Plan? Thank you.
0
0
16
hlaw
Jun 29, 2020
In Coding with Velo
Does anyone know how to have live database for the Events and Pricing Plans? Thank you.
0
1
13
hlaw
Jun 27, 2020
In Coding with Velo
Wix's Pricing Plan is great but lack of a database. With database, I can create automate dynamic pages to let members aware of how many members in our club. The dynamic page can also do search for members info from the web site. Here is my example https://www.mascusa.com/membership-index .
0
0
28
hlaw
Jun 04, 2020
In Coding with Velo
I would like to have a form that can perform search for First name, Last name and email across multiple databases, database 1, database 2 and database 3. Once the user submitted the form, it will perform a search and automatic send an email for notification. I would be very grateful if you could provide me with an example of codes. Thank you.
0
1
75
hlaw
Mar 08, 2020
In Coding with Velo
I have a table with 3 pages and I would like to have a script that can calculate the total rows from these 3 pages and put it in the TEXT box as shown in the link here https://www.mascusa.com/renewal-membership-test Any help will be greatly appreciated.
0
9
289
hlaw
Feb 26, 2020
In Coding with Velo
I've a repeater page with 4 tables, these table ID are #table1, #table2 , #table3 and #table4. I like to know how I can calculate the total rows from these 4 tables and display it anywhere I like. Any help will be greatly appreciated. Thank you
0
5
32
hlaw
Dec 18, 2019
In Coding with Velo
I've try various of contributors roles and permission but somehow I was unable to prevent my contributor from writing over the database collection in live. Can anyone please show me how to prevent contributors from writing over the database collection. Let me know what type of contributor's role and what permission to use. Any help will be greatly appreciated.
0
7
80
hlaw
Nov 08, 2019
In Coding with Velo
It's possible to have 1 dynamic page connected to 2 database collections?
0
2
309
hlaw
Jul 03, 2019
In Coding with Velo
I have a form and connected to a database collection. Form the database collection I make and connect to a dynamic page with repeater for my members to do RSVP. In the repeater, it has a column for number of attendance. Everything is going well except, I do not know how to obtain a total attendance. I will be very grateful if anyone can show me how to do this in code. FYI, I am a beginner on coding. Please see attachment. Thank you
How to total a repeater page. content media
0
14
355
hlaw
Jan 15, 2019
In Coding with Velo
I have a site of 500 members in yearly subscription. I need an automate reminder to remind them to renew their membership. The reminder can be an email with link to a website to pay their dues. Any help is greatly appreciated.
0
0
31
hlaw
Jan 13, 2019
In Coding with Velo
Can anyone show me why my codes not working. I hereby paste with my email.jsw, sendGrid.js and Event hander //email.jsw import {sendWithService} from 'backend/sendGrid'; export function sendEmail(subject, body) { const key = "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"; const sender = "from.hl@framecount.com"; const recipient = "to.datacollection@mascusa.com"; return sendWithService(key, sender, recipient, subject, body); } export function sendEmailWithRecipient(subject, body, recipient) { const key = "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"; const sender = "from.hl@framecount.com"; return sendWithService(key, sender, recipient, subject, body); } ################################################################## //sendGrid.js import {fetch} from 'wix-fetch'; export function sendWithService(key, sender, recipient, subject, body) { const url = "https://api.sendgrid.com/api/mail.send.json"; const headers = { "Authorization": "Bearer " + key, "Content-Type": "application/x-www-form-urlencoded" }; const data = `from=${sender}&to=${recipient}&subject=${subject}&text=${body}`; const request = { "method": "post", "headers": headers, "body": data }; return fetch(url, request) .then(response => response.json()); } ###################################################################### import {sendEmail, sendEmailWithRecipient} from 'backend/email'; $w.onReady(function () { $w("#dataset8").onAfterSave(sendFormData); }); function sendFormData() { const subject = `Membership Application From ${$w("#input1").value}`; const body = `Name: ${$w("#input1").value} \rWhat Application: ${$w("#dropdown1").value} \rWhich Member: ${$w("#radioGroup1").value} \rEmail: ${$w("#input9").value}`; const recipient = $w("#input9").value; sendEmailWithRecipient(subject, body, recipient) .then(response => console.log(response)); }
0
3
280
hlaw
Dec 30, 2018
In Coding with Velo
I have 2 dropdowns (#dropDown1 and #dropDown2). What I need is when either of the dropdown is selected it will displace the value in a text box (ID #textTotal ) If both dropdowns are selected then a total value will displace in the text box. I hereby attached a picture for what I need. Thank you.
Dropdown's  total content media
0
11
176
hlaw
Dec 24, 2018
In Coding with Velo
When I do a submit with my application form, I received data collection and an email of notification from Send Grid. It seem like working OK. But when other visitors submitted, there are data collection but no email notification from Send Grid either in my mailbox or in the spam Any help?
0
1
51

hlaw

More actions
bottom of page