mem_simple_form clear a value

Hablablow avatarHablablow created an issue

Manfre,

Following a discussion we had by mail, here's a report of an issue I have using mem_simple_form plugin.

Problem:

Using the code below, I cant clear a value previously entered in a field and recorded in the DB. Trying to empty a field and saving it will fire the thank you message but won't clear the value...

Code:

<txp:mem_form_text name="table_country" label="Country" break="" />
<txp:mem_form_secret name="string_user_ref" value="{userA}" />
<txp:mem_form_submit />
</txp:mem_simple_form>

Thank you very much for any suggestions.

Regards.

Guillaume

Comments (2)

  1. Anonymous

    I can confirm this. A workaround that in limited testing seems to work is to precede each form element with a mem_form_secret with the same name attribute and value="" but it is a little cumbersome. Have we missed a simple setting somewhere, or is this a situation the plugin doesn't catch?

    (using mem_simple_form 0.31 and mem_form 0.8.3.)

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.