Re: First and Last names pre-filled in a Webform

Info Razor <[email protected]>
Newsgroups gmane.comp.php.drupal.support
Message-ID <[email protected]>
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 <[email protected] (mailto:[email protected])> 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/ ]
>  
>

-- 
[ Drupal support list | http://lists.drupal.org/ ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.