Field name validation
nav_first.pngFirst: thread:379
Feedback from naive user
Edited: 26 Oct 2011 12:41 by: Sheepdog
Comments: 3
Tags:
nav_prev.pngPrevious: thread:286
The "image" data type
Edited: 12 Feb 2010 01:45 by: leiger
Comments: 1
Tags:
Last: thread:141
Which aspects of this design do people want first?
Edited: 11 Nov 2009 12:44 by: leiger
Comments: 14
Tags:
nav_last.png
Next: thread:261
Page path improvements
Edited: 28 Jan 2010 16:04 by: pieterh
Comments: 12
Tags:
nav_next.png

pieterhpieterh wrote on 05 Feb 2010 08:16

Field names are:

  • Any mix of letters and digits and the characters '-' or '_'
  • Starting with a letter
  • Case-insensitive

For now, Wikidot does not validate the form definition so it will automatically turn invalid field names into valid field names, e.g. by replacing invalid punctuation with '-'. But in future the form will be validated and field names that contain invalid characters (spaces, dots, etc.) will be rejected.

For upper/lower case, Wikidot treats these as the same, so a field called 'NAME' is the same as one called 'name', particularly when showing field data in templating and ListPages.


Start a new sub-thread

Comments: 0

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License