oh by the way you guys have been helping in an excellent way this week. thanks so much.
 
When I use this dtml; if bid, bpurchaseyear, and bdescription are all true. the string ends up being set to
'id,description'
 
It is skipping the bpurchaseyear or taking 'puchaseyear' it out of the string. I am not sure what is happening.
 
 
<dtml-if bid>
<dtml-call "manage_changeProperties(qstring = 'id')">
</dtml-if>
 
<dtml-if bpurchaseyear>
<dtml-call "manage_changeProperties(testvalue = qstring)">
     <dtml-if bid>
     <dtml-call "manage_changeProperties(qstring = testvalue + ',' + 'puchaseyear')">
     <dtml-else>
     <dtml-call "manage_changeProperties(qstring = 'purchaseyear')">
     </dtml-if>
</dtml-if>
<dtml-call "manage_changeProperties(testvalue = qstring)">
<dtml-if bdescription>
     <dtml-if "bid or bpurchaseyear">
     <dtml-call "manage_changeProperties(qstring = testvalue + ',' + 'description')">
     <dtml-else>
     <dtml-call "manage_changeProperties(qstring = testvalue + 'description')">
     </dtml-if>
</dtml-if>