I wonder over two strange things Colin:
-
If you put export function ratingsInput1_change(event) { below $w.onReady( function() { you get the text that exports shall be on the top level, with other words over $w.onReady( function() { so shall I put the ratingsinput over $w.onReady( function() { or not?
-
Wix instructions say that you shall not connect the input element to the database but on another page you get this instructions (very confusing):
Step 2 | Connecting your ratings input element
Connect your ratings input element to collect your users ratings in a database collection.
To connect your input element to a dataset:
-
Click the ratings input element.
-
Click the Connect to Data icon.
-
Click Connect a dataset to choose a dataset from the drop-down list.
-
Click Rating value connects to :
-
Choose an existing field in your collection.
-
Click Add a new collection field to create a new field in your collection.
-
Enter a field name.
-
Select a field type.