[support] First and Last names pre-filled in a Webform

Info Razor inforazor at gmail.com
Wed May 21 18:14:02 UTC 2014


Try it and find out? If you back up you can just roll back.

Check the release notes too, for specific information rgd upgrades.  

--  
Info Razor
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Wednesday, May 21, 2014 at 10:17 AM, Afan Pasalic wrote:

> I found that only Webform 4 is doing the job. So I have to upgrade. though, before I upgrade I wonder if old form, built in version 3.x, will broke after the upgrade? Can I keep using them? Anybodu already did this?  
>  
>  
> On May 7, 2014, at 9:25 AM, Afan Pasalic <drupal at afan.net (mailto:drupal at afan.net)> wrote:
>  
> > Hi to all!
> > In /admin/config/people/accounts/fields I created First and Last name fields (field_name_first and field_name_last).
> > Installed Real Name module and on /admin/config/people/realname page, for Realname pattern I selected [user:field_name_first] [user:field_name_last]
> > Now, on the profile page, instead username I can see First and Last name. Works great.
> >  
> > I created a Webform with first and last name fields (some kind of registration for an event). Label: “FirstName” (no quote, of course). Field Key: “first_name”. If I got it correct, I have to put field name into Default value field to pre-filled the fields with user data. I tried every possible combination and never got the first (or last) name into first (last) field. I tried %profile[field_name_first], %profile[user:field_name_first], [user:field_name_first], [field_name_first] - nothing works. If I put %username I’ll get username pre-filled in the form field. The same if I use %profile[name]. But can’t get First name.
> >  
> > What am I doing wrong?
> >  
> > Thanks.
> > --  
> > [ Drupal support list | http://lists.drupal.org/ ]
> >  
>  
>  
> --  
> [ Drupal support list | http://lists.drupal.org/ ]
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140521/4cf78ddc/attachment.html 


More information about the support mailing list