OpenEMM Support Forum Index OpenEMM Support
Use this forum to get and provide free help regarding OpenEMM
 
 TOP   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fixed: i am having problems modifying dates through forms

 
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Bugs, bug fixes & releases
View previous topic :: View next topic  
Author Message
Hoeney



Joined: 09 Aug 2007
Posts: 6

PostPosted: Fri Aug 10, 2007 8:20 pm    Post subject: Fixed: i am having problems modifying dates through forms Reply with quote

i am using OpenEMM 5.1. on CentOS 5. i would like to be able to create dates and input them into a recipient's profile through a form when they subscribe. i have made some static dates to test the input but i have not yet succeeded. here is my code for the form

Code:

<form action="form.do" method="post">
<input type="hidden" name="agnCI" value="1" />
<input type="hidden" name="agnFN" value="optincompletebg" />
<input type="hidden" name="agnUID" value="$agnUID" />
<input type="hidden" name="agnSUBSCRIBE1" value="1" />
<input type="hidden" name="agnMAILINGLIST1" value="1" />
<input type="hidden" name="field1_day_date" value="10" />
<input type="hidden" name="field1_month_date" value="08" />
<input type="hidden" name="field1_year_date" value="2007" />
<input type="hidden" name="field2_day_date" value="15" />
<input type="hidden" name="field2_month_date" value="08" />
<input type="hidden" name="field2_year_date" value="2007" />
<input type="hidden" name="field3_day_date" value="20" />
<input type="hidden" name="field3_month_date" value="08" />
<input type="hidden" name="field3_year_date" value="2007" />
<table width="50%" cellpadding="3">
  <tr>
    <td><label for="gender">Gender:</label></td>
    <td><select name="gender">
   <option value="2" selected="selected" >no specification</option>
   <option value="0" >Male</option>
   <option value="1" >Female</option>
   </select></td>
  </tr>
  <tr>
    <td><label for="firstname">First Name:</label></td>
    <td><input name="firstname" type="text" id="firstname" size="25" maxlength="20" /></td>
  </tr>
  <tr>
    <td><label for="lastname">Last Name:</label></td>
    <td><input name="lastname" type="text" id="lastname" size="25" maxlength="20" /></td>
  </tr>
  <tr>
    <td><label for="email">E-Mail Address:</label></td>
    <td><input name="email" type="text" id="email" size="50" maxlength="100" /></td>
  </tr>
  <tr>
    <td><label for="mailtype">E-Mail Format:</label></td>
    <td>
      <label><input type="radio" name="mailtype" value="0" />Text</label>
      <label><input name="mailtype" type="radio" value="1" checked="checked" />HTML</label>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2"><input name="subscribe" type="submit" id="subscribe" value="Subscribe" /><input name="cancel" type="reset" id="cancel" value="Cancel" /></td>
  </tr>
</table>
</form>


when i try to confirm input checking out the database. it will come up as NULL for all fields. if i use the field name in the db, instead of the field name in openemm, for the column i get 0000-00-00 instead of NULL and the error form instead of the success form for the subscribe complete form. please help me if you can, this has been racking my brain all day. thank you
Back to top
View user's profile Send private message
Hoeney



Joined: 09 Aug 2007
Posts: 6

PostPosted: Tue Aug 14, 2007 6:16 pm    Post subject: Reply with quote

updating to OpenEMM 5.1.1 fixed this issue
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Bugs, bug fixes & releases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group