Quote:
Originally Posted by upnorth
I'm looking for some guidance in formatting the answer template so that I can control the way the finished post looks. Is there any way to use conditionals in the answer template?
For example I have
$question1
$checkboxAnswer1_1
$checkboxAnswer1_2
$checkboxAnswer1_3
If only the first checkbox is selected on the form then the $checkboxAnswer1_2 and $checkboxAnswer1_3 put spaces in the final post. I'd like to do something like
if ($checkboxAnswer1_2==""){
echo "";
}
That way I can eliminate the spaces?
Any ideas?
|
UpNorth this can be done, but you will have to alter the plugin file to match and execute.
I still learning this stuff, Im sure ABE1 can do this with his eyes closed, but hes a busy man.
I will take a look and see if I can help...
Check with RayW, he has made some progress in this area...