I would like to use the rules engine to prepopulate a WFFM form field with the logged in user's username. Unfortunately, I can't seem to get this to work, even though the conditions and actions that I am using are provided out of the box.
I don't see any errors in my logs or at runtime - the field value is just not being set.
If you look at the below screenshot of the form designer, the rule that I am using is at the bottom left.
Does anyone know what I'm doing wrong here or if there is something special that I need to do in order to get this working?
UserName
is the out of the box property on theUserProfile
that contains the username. I can't check with a debugger, as I don't have access to ReSharper or Reflector on the machine that I'm currently working from.