1.5 which will be released soon will include an example theme that adds address fields to
the registration page. In the mean time you can have a look at
From: "Klemen Ferjančič" <imbacen(a)gmail.com>
To: keycloak-user(a)lists.jboss.org
Sent: Tuesday, 25 August, 2015 8:51:36 AM
Subject: [keycloak-user] Refill custom attributes in registration template
Hi
Sorry if this is a duplicate, seems like last email was lost in moderation.
I can't seem to customize the keycloak registration page with
custom attributes that would refill upon failure. Regular fields have
the value set like: value="${(register.formData.email!'')?html}" so I
tried the same approach for the custom fields. I tried:
value="${(register.formData.user.attributes.mobile!'')?html}"
value="${((user.attributes.mobile)!'')?html}"
value="${(user.attributes.mobile)!''}"
..and probably 10 other combinations but nothing works. I also did not
find anything in the documentation. What is the correct value expression
that would refill custom attributes upon POST failure?
Best regards, cen
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user