[support] empty optional fields: saved node contains the token name instead of an empty section

Jim Ruby jim at v-community.com
Mon Jun 17 22:27:13 UTC 2013


Hi, did you ever get any answers to your question below?

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of John Mitchell
Sent: Saturday, June 15, 2013 11:43 AM
To: support; John Mitchell
Subject: [support] empty optional fields: saved node contains the token name
instead of an empty section

I have created a content type that has some tokens within the read-only body
section so that other custom fields that the user enters when they create
content based on this content type are mapped to its associated token within
the body section. If the user enters information within a optional field
then that entered information replaces the token when the node is saved. The
problem is for optional fields when they don't enter a anything within it
then the saved node contains the token name instead of an empty section
which is what we want.



Thanks,


John



More information about the support mailing list