Documentation · ViewHelper reference

XSD schema file | vhs master

Form / FieldNameViewHelper

Form Field Name View Helper

This viewhelper returns the properly prefixed name of the given form field and generates the corresponding HMAC to allow posting of dynamically added fields. /

  • Tag usage example

    <v:form.fieldName name="NULL" property="NULL">
    	<!-- tag content - may be ignored! -->
    </v:form.fieldName>
  • Inline usage example

    {v:form.fieldName(name: 'NULL', property: 'NULL')}

Arguments

Argument Description Type
name

Name of the form field to generate the HMAC for.

string
property

Name of object property. If used in conjunction with , "name" argument will be ignored.

string
Required attribute

Revision history

commit a8ac4260998aaefb69b0badf545c91bd3e443297
Author: Cedric Ziel <*****@cedric-ziel.com>
Date:   Fri Jul 19 18:13:41 2013 +0200

    [BUGFIX] Fix monkey on keyboard
    
    Just renamed FieldNameViewHelper to proper casing

commit 91cacbb7529d8ab5dfa912c1a40e9eaa1885f76a
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Tue Aug 6 10:48:52 2013 +0200

    [TASK] Add method to detect variable namespace

commit 6082a4b90a4619b5b55bb02394f993f3b54ebe9b
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Tue Aug 6 10:49:35 2013 +0200

    [BUGFIX] Add missing method

commit fc8eded08973dced9ecc8b11ea1ff940022fe023
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Tue Aug 6 10:49:58 2013 +0200

    [BUGFIX] Use local variable

commit 383c2d186c2739c07e539c7efb6e786124a9f025
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Thu Aug 8 18:26:46 2013 +0200

    [TASK] Inject persistence manager

commit e2bd6e2aa4c45151451822f85544ea0c28b94d0b
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Sep 8 23:25:51 2013 +0200

    [TASK] Small cleanup in detection of form ViewHelper scope

commit da31bad1d9bb058c072ddb5591e8ed907a1ae8e1
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 31 23:08:37 2013 +0100

    [TASK] Happy new year!

commit d2e531da034976e6db1478eef5a8478595fd16fe
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Jan 5 00:45:10 2014 +0100

    [TASK] Migrate to using namespace core class names

commit 52bd6e41ccfef3d8193b350153912a9716e6a087
Author: Benjamin Rau <*****@codearts.at>
Date:   Tue Apr 1 21:09:00 2014 +0200

    [TASK] CGL compliance

commit da7677bc74f14e9a9300e4ba4487e52c3cb97642
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Apr 20 01:13:33 2014 +0200

    [TASK] Switch to namespaces

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****@xwissen.info>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to license.md file