close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Spry Rating results mailed

Thread began 1/18/2010 8:30 am by Blikbrein | Last modified 1/18/2010 8:02 pm by Jason Byrnes | 848 views | 1 replies |


Spry Rating results mailed

I have spry rating that I have inserted into a form for a client that requires feedback from their clients regarding services rendered. I have tried everything, but the fields mailed by Universal mail do not show the results, just blank.

Would it be better if the results are updated to a database and then retrieved to be mailed. how can I retrieve the input saved to the database?

Thanks in advance

Sign in to reply to this post

Jason ByrnesWebAssist

the following is from the adobe documentation for sending the rating to the server:


  send the rated value to the server

The Rating widget has a mechanism to send the user selected rating value to the server. You can choose the method to send data: GET or POST. The default method used to send the data is GET. If you want to send the data via POST you should add "postData" option in the widget constructor.

When sending via GET method you only have to provide the "saveUrl" option which takes the real URL for saving data. The widget constructor will look like:

<script type="text/javascript">
var rate = new Spry.Widget.Rating("spryrating1", {saveUrl:'SpryRating.php?id=spryrating5&val=@@rw_Rating@@'});

If you need to send the data via POST, you should add in the widget constructor the "postData" option- a string containing the url encode and the "saveUrl" - url for saving data. The "postData" string can contain the placeholder for the rated value, in this format @@ratingValue@@. It is always send in conjunction with saveUrl.
The widget constructor in this case:

<script type="text/javascript">
var rate = new Spry.Widget.Rating("spryrating1", {postData: 'id=spryrating2&val=@@ratingValue@@', saveUrl:'SpryRating.php});

use the postData method to convert the rating to a post, you probably need to add a hidden form element with same name, then you can add the binding in Universal Email to email the rating.

If you need further assisting implementing the postData, you should post in the Spry Forums, when you can post the rating, it should be simple to output into the email.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...