API - template - field ID
I'm using the API to develop an add-on. When using a template to define a field, it would appear that the field ID is being prefixed with "perch_" (which is my PERCH_DB_PREFIX).
So, my template includes:
<perch:league id="notes" label="Notes" type="textarea" textile="true" size="s autowidth" />
My blah.post.php includes:
Looking at "view source", I see:
<textarea id="perch_notes" name="perch_notes" ...
When then using:
$postvars = array('longname', 'shortname', 'prefix', 'suffix', 'notes'); $data = $Form->receive($postvars);
I'm obviously not seeing the data from the "notes" field. Because it's called "perch_notes"... I can't see anything in the API docs about this - am I missing something or is this a bug?
Perch Runway 2.8.8.