Indenting form definitions
nav_first.pngFirst: thread:359
functions available to wiki-type fields
Edited: 07 May 2010 13:16 by: scottplan
Comments: 3
Tags:
nav_prev.pngPrevious: thread:359
functions available to wiki-type fields
Edited: 07 May 2010 13:16 by: scottplan
Comments: 3
Tags:

Ed JohnsonEd Johnson wrote on 25 Mar 2010 19:37

See the comments around this post. It seems that unlike other languages, YAML needs to be structured with leading spaces in front of field names, properties, etc. for forms to be parsed properly.

All of the code examples show the indenting, but I thought this was for readability and not a requirement. It's easy to break a form and hard to spot why it's not working if you're not aware of this.

This is not mentioned anywhere in the documentation.

-Ed


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