PDA

View Full Version : Request Read Receipt Checked yes by Default?


Eq4bits
07-16-2015, 10:14 PM
vB4.2.3
I would like the 'track pm' radio button checked by default for my members that meet the conditions for $show['tracpm'].

I tried changing the 'value="1"' to a 'value="0"' in the following bit of the pm_newpm template
<vb:if condition="$show['trackpm']">
<li>
<label for="cb_receipt"><input type="checkbox" name="receipt" value="1" id="cb_receipt" tabindex="1" {vb:raw checked.receipt} /> {vb:rawphrase request_receipt_for_message}</label><p class="description">{vb:rawphrase request_receipt_for_message_desc}</p>
</li>
</vb:if>
Saved
Cleared Forum/System Cache
But it didn't make any difference. I also looked for it as a setting in options>settings but couldn't find it.
Help?

Skyrider
07-17-2015, 05:18 AM
Try using the checked="checked" value instead, like so:

<vb:if condition="$show['trackpm']">
<li>
<label for="cb_receipt"><input type="checkbox" name="receipt" value="1" id="cb_receipt" tabindex="1" {vb:raw checked.receipt} checked="checked"/> {vb:rawphrase request_receipt_for_message}</label><p class="description">{vb:rawphrase request_receipt_for_message_desc}</p>
</li>
</vb:if>

Eq4bits
07-17-2015, 12:24 PM
thank you! I knew i could use the checked = checked thing but wasn't sure exactly where to put it =S

--------------- Added 1437143215 at 1437143215 ---------------

yup that did it! Thank you muchly!