My client would like to allow users to change their mind after rating a weblog entry using the Solspace Ratings form. I’m submitting the form via Ajax, which updates the ratings just fine. The display is controlled by another custom Ajax call to the db. But it only works only once. Since the form itself doesn’t change, allow_duplicates=“yes” is meaningless until the page is refreshed and the XID value is changed.
So, in order for this to work I also have to rewrite the XID value of the form with another Ajax call. (I believe that’s what is preventing resubmission.) Can someone tell me how this hash is created and what its parameters are? This won’t be in a template, so I can’t just use the EE tag.