Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > User Table Fields & Registration Form View modes: 
User avatar
Member
Member
tspring-allegra - 9/23/2010 5:14:52 AM
   
User Table Fields & Registration Form
Hi

I'm trying to develop a registration page for our site, but I have a few problems with what I want to do.

I'm using the Alternative Form option (in System Tables / User) to create a custom registration form. But I want some of the fields in the form to be auto-populated with values from a macro, as basically I have a survey form (using a bizform) prior to redirecting to the registration page that already asks some of the registration fields (like name and email address) and don’t want to ask the user to enter these twice. I can easily add a macro expression (like {%emailaddress%}) to the Attribute Default Value of fields to pass values, but some of the User table fields (like fullname or email) it doesn’t let me edit the Attribute Default Value. How can I edit this value to add the macro expression?

Thanks,
Tim

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 9/24/2010 2:58:38 AM
   
RE:User Table Fields & Registration Form
Hi,

you can create some custom fields and set them the default value according to your needs.

Or you can set the user name and his email in the code behind of your registration page and cover these two fields in alternative form unchecking Display attribute in the editing form option.

Best regards,
Ivana Tomanickova