Developer forum

Forum » CMS - Standard features » If statement in customfield loop

If statement in customfield loop

Aki Ruuskanen
Reply
I have a number of custom fields for user and on a registrationpage I only want to display on of them.
I'm trying to do  this with an if statement where I check the ID of the control. 
But the If statement is not parsed and I cannot see why? The code is in a create user template.

Any ideas?

<!--@LoopStart(UserManagement:User.CustomFields)-->
  <!--@If(CustomField.Control.ID=45)-->
    <!--@CustomField.Name-->:
    <!--@CustomField.Control-->
  <!--@EndIf-->
<!--@DwTemplateTags-->
<!--@LoopEnd(UserManagement:User.CustomFields)-->



Replies

 
Aki Ruuskanen
Reply
 Fixed it with newer version.

 

You must be logged in to post in the forum