You are not logged in.
Please go to http://bitbucket.org/Manfre/txp-plugins if you…
I do not regularly follow this thread anymore. Any problems or questions posted here will most likely only get answered by other forum members.
This plugin will allow other plugin developers to easily add HTTP form processing to their plugin. The plugin help provides information for developers and users.
Feature List:
Latest Version: 0.5.4
Last edited by Manfre (2010-10-03 16:18:30)
Offline
Yup. It’s based upon zem_contact_reborn. A client specifically asked me to add the form functionality from that plugin in to mem_moderation. The first time I typed the post above mentioned that, but the site ate the post.
Offline
Just thought of a new plugin based on this. Should be simple but a form to db plugin. Let admins create new tables in the backend to store data from a form.
Offline
Cool. I’m currently adding the tag, mem_form_file so I can migrate mem_moderation_image.
Offline
Let me know if there are any mem_form features that would assist you towards completing that plugin.
Offline
Hi, I’m trying to put together a slightly modified registration form which collects some addtional data for equal opportunities compliance purposes which needs inserting into a separate table.
I’d like to be able to populate some select and checkbox fields automatically by selecting values from the database. However because any PHP in my form isn’t processed until the 2nd pass, if I do something like
<txp:php>
foreach (thingFromDatabase as thing) {
echo “<txp:mem_form_checkbox attrs />”;
}
</txp:php>
the checkbox gets created in the output HTML, but isn’t processed by the plugin to ‘save’ the values from the posted form. Hence they aren’t available in $mem_form_values[].
Does anyone know if there is any magic that can resolve this, or might I either have to make the fields static, or access the $_POST variables directly?
Offline
Don’t use inlined php. Instead, create a plugin and have it hook in to submit and default events as described in the plugin help. You are then left with the option of hooking the display event to add the checkboxes, or you can use <txp:mem_form_check …> in the form.
Offline