The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Checkbox stays checked in post preview?
I'm not sure how to go about doing this but I want to have a checkbox stay checked in the post preview only if it is checked before the preview. Otherwise, I want to leave it unchecked. How would I go about setting the conditional up for something like that? The php code is in the newreply_form_start hook and the template code is in the newreply template, if that helps at all.
|
#2
|
||||
|
||||
Not sure if this would help at all, but here's a snippet of code from one of my modification that does something similar as far as keeping an option when going to a new page...
HTML Code:
<input type="radio" name="positionapplying" value="{vb:raw pos2}"<vb:if condition="$vbgpc['positionapplying'] == $pos2"> Checked</vb:if> /> {vb:raw pos2} |
#3
|
||||
|
||||
Mine is a checkbox like the signature checkbox so that probably won't work.
But thank you for responding and trying. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|