1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Autofill anonymous name

Discussion in 'XenForo Pre-Sales Questions' started by fion, Jun 19, 2013.

  1. fion

    fion Member

    Is there a way to autofil or autocomplete the name field for posts from anonymous users? For example we want it to autofil with "anonymous", but also allow users to enter a different name if they wish.
  2. James

    James Well-Known Member

    I'm sure with a template you could do something on the input. I've never tried.

    Something like this would work on the value="" field (I'm guessing):
    {xen:if '!{$visitor.user_id}', 'Anonymous', ''}
  3. fion

    fion Member

    Thanks, James. I will give this a try.
  4. fion

    fion Member

    I am attempting to use this, but I am not sure how it should be implemented. Can someone point me to the correct template?

    Thank you
  5. Brogan

    Brogan XenForo Moderator Staff Member

    I have moved this from feedback to pre-sales.

    Generally speaking, detailed support is only given to license holders in the support forums.
  6. fion

    fion Member

    Ok, I will ask in the support forums.

Share This Page