01036: Wikiforms field named "Postal" overrides (submit preview)

Summary: Wikiforms field named "Postal" overrides (submit preview)
Created: 2008-07-18 09:02
Status: Open
Category: Cookbook
Priority: 3
Version: 2.2.0-beta66
OS: Apache 1.2, PHP 4, SunOS 5.9

Description: This may be due to the PHP 4, but if you use a field titled similar to this on your FormTemplate:

 :* City:city

 :* State:state

 :* Postal Code:postal

You won't be able to 'submit preview', ONLY 'subit post'. I renamed the field to the following:

 :* Postal Code:zip

and preview worked again.

Took two hours of undo-ing my work to find this, I'm so proud of myself! I've had to implement work-around functions for some unrelated PHP 5 functions, but they don't appear to be involved (from what I can see) and I'm not sure if this is the case with PHP 5.

It's not a life-or-death type of issue (a field's name is somewhat irrelevant), but if anyone else experiences preview problems check your field names.