Page 1 of 1
adding field "company" and save it
Posted: Mon Sep 21, 2009 5:29 pm
by barbe
Hi folks,
I am using v5.5.1 and have a question concerning the fields. I would like to add a field "company". I the form I have added the field and named it COMPANY. Can I save this value with "3. profile modification" in the database? How?
-Sebastian
Posted: Tue Oct 06, 2009 11:34 am
by maschoff
You can create new database fileds here: Settings -> Edit profile fields -> new field
Posted: Tue Oct 06, 2009 12:06 pm
by barbe
Hi Ma,
I have already created the field. But how is it possible to save the data entered into the subscription form?
-Sebastian
Posted: Tue Oct 06, 2009 12:28 pm
by maschoff
For instance field company (from
www.openemm.org):
Code: Select all
<form name="subform" method="post" action="http://www.openemm.org:8080/form.do">
<input type="hidden" name="agnCI" value="1" />
<input type="hidden" name="agnFN" value="subscribe" />
<input type="hidden" name="agnSUBSCRIBE" value="1" />
<input type="hidden" name="agnMAILINGLIST" value="1" />
<input type="text" class="inputtype" name="company" maxlength="80" />
</form>
Posted: Tue Oct 06, 2009 12:37 pm
by barbe
Hi Ma,
thanks, but what do I have to specify in the action? Profile modification
firma = ???
-Sebastian
Posted: Tue Oct 06, 2009 1:38 pm
by maschoff
You should simply read the manual to learn how to set up OpenEMM forms and actions.
Posted: Tue Oct 06, 2009 1:55 pm
by barbe
Thanks for your advise. I read it more than once but cannot find the solution how to save the custom field in the database, sorry.
Do I have to define a "script-action"?
-Sebastian