ws_place_order.htm.
The RATEREMINDMAIL- tags build this selection. They return the names for the checkbox and the hidden field and answer the question of whether there is already an earlier decision by the buyer on which the preselection can be based.
Guide: Description of the product rating module
All tags on this page apply exclusively on the order overview page
ws_place_order.htm and belong within the order form.The two form fields
The selection consists of two elements: a checkbox that the buyer sees and a hidden field in which the decision is passed.All three tags are exclusively single tags.
Adopting the earlier decision
If the buyer has already answered the question, the checkbox should show this instead of asking again. There are two sources for this: the current session and the last order.
As single tags, the two
Selection tags output either checked or nothing. You therefore place them directly in the input element.
The order in the example is deliberate: the decision from the current session is the more recent one and therefore takes precedence over the one from the last order. If there is no decision at all, the checkbox remains in its initial state.
RATEREMINDMAIL-UserSelectionSession belongs within RATEREMINDMAIL-UserSelectedSession, RATEREMINDMAIL-UserLastOrderSelection within RATEREMINDMAIL-UserLastorderExists. Without the respective range, an empty result cannot be distinguished from a missing decision.Note the spelling:
UserLastorderExists with a lowercase o, UserLastOrderSelection with a capital O. The two tag names are inconsistent at this point.The tags at a glance
All tags apply exclusively on the order overview page
ws_place_order.htm. The two Selection tags are each placed within their corresponding range.
Related topics
- Guide: Description of the product rating module
- Reference: PRODRATING- (Submitting and confirming a rating)
- Reference: FORM- (Forms)
