ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Overwrite user name in comment submission form

July 18, 2011 6:32pm

Subscribe [2]
  • #1 / Jul 18, 2011 6:32pm

    Geof Harries

    109 posts

    We are utilizing the comment submission form on article entries so that people can leave comments. Y’know, the usual stuff.

    Anyway, even though we don’t include the value attribute in the input type, like…

    <input type="text" name="name" value="{name}" />

    ..the user’s name gets automatically submitted and displayed on the resulting screen if they are logged in.

    We’d instead like users to be able to overwrite their name with whatever they submit the form with. For example, if the user’s official name is “Joanne Smith” but they submit the comment form with “Crazy Cat Lady”, it gets displayed as “Crazy Cat Lady” in the approved comment.

    Is this possible?

    thanks

    geof

  • #2 / Jul 19, 2011 6:15pm

    Brandon Jones

    5500 posts

    Hi Geof,

    I don’t think that’s possible without a custom solution. If you’d like I can move this over to Community Help to see if maybe there’s another approach, or perhaps there’s an add-on that will help over at Devot-EE?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases