Hi,
I have just a question regarding this module.

Is it possible to add more than one voting api field?
I have tried to add second field with the same type, but I have only changed the icon of it, the problem I get, after I rate the second one, after page reload I get empty field saying that there's no voting saved, and voting results have been changed for the first field.

I guess there's only one field possible to have according to the module, but is it possible, maybe, somehow.. to make it working with two or more rating fields?

Thanks

Comments

lazarkoo created an issue. See original summary.

lazarkoo’s picture

Component: Code » Miscellaneous
RumyanaRuseva’s picture

In theory it should be possible with the VotingApi module, as long as you use different vote types for each field (what used to be vote tags in D7), so that the results can be calculated separately for each vote type. Otherwise the Voting Api cannot tell the difference between each field, and results will be mixed.

The module Votingapi Widgets allows adding multiple fields and calculating results for each field separately, regardless of their vote type.

romixua’s picture

Assigned: Unassigned » romixua
Issue tags: +epam-contrib-2019.03
linichalexey’s picture

Issue tags: -epam-contrib-2019.03
romixua’s picture

Assigned: romixua » Unassigned
tr’s picture

Title: 8 - More than one voting api field in content type » More than one voting api field in content type
Version: 8.x-3.0-alpha7 » 8.x-3.x-dev
tr’s picture

Status: Active » Postponed (maintainer needs more info)

Actually, I'm not sure what this issue is about?
The Voting API module does not define a field type.
Perhaps you're asking about some other voting module?