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)-->
Developer forum
If statement in customfield loop
Replies
You must be logged in to post in the forum