The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Date Field doesn't show in the view or email v2.2.5 - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Date Field doesn't show in the view or email v2.2.5 (/showthread.php?tid=2372)



Date Field doesn't show in the view or email v2.2.5 - m4n - Feb 6th, 2013

Hi and thank you for your help;
I have Form Tools V. 2.2.5 Installed

Everything works fine, the System Check doesn't show me any errors.
My Form is in Direct Form

Everytime I a send a test from the website the "date field" name="reserva_date" doesn't show up in the e-mail or in the view.

I check the SQL DB and the registry is over there. But i can't make it show up anywhere.


This is my HTML:
******************
<form id="reservation-form" action="http://meoninternet.com/formtools/process.php" method="post"><input type="hidden" name="form_tools_form_id" value="3" />
<h3><span class="left">Informaci&oacute;n del Cliente</span></h3>

<p>
<label for="nombre" class="required label">Nombre:</label>
<input id="nombre" type="text" name="nombre" />
</p>
<p>
<label for="apellido" class="required label">Apellido:</label>
<input id="apellido" type="text" name="apellido" />
</p>
<p>
<label id="address-label" for="direccion" class="required label">Direcci&oacute;n:</label>
<textarea id="direccion" name="direccion" cols="28" rows="5"></textarea>
</p>
<p>
<label for="ciudad" class="required label">Ciudad:</label>
<input id="ciudad" type="text" name="ciudad" />
</p>
<p>
<label for="telef" class="required label">Tel&eacute;fono:</label>
<input id="telef" type="text" name="telef" />
</p>
<p>
<label for="email" class="required label">Correo:</label>
<input id="email" placeholder="Ejemplo: juan@me.com" type="text" name="email" />
</p>
<h3 class="extra-margin top"><span class="left">Informaci&oacute;n de Reservaci&oacute;n</span></h3>
<p>
<label for="mesa" class="required label">Mesa:</label>
<select type="dropdown" id="dropdown" name="mesa">
<option value="">- Seleccione una Mesa -</option>
<option value="Mesa 1">Mesa 1</option>
<option value="Mesa 2">Mesa 2</option>
<option value="Mesa 3">Mesa 3</option>
<option value="Mesa 4">Mesa 4</option>
<option value="Mesa 5">Mesa 5</option>
</select>
</p>
<p>
<label for="reserva_date" class="label">Dia</label>
<input type="date" id="date" name="reserva_date"/>
</p>
<p>
<label for="horario" class="label">Horario:</label>
<input type="time" id="time" name="horario"/>
</p>
<p>
<label for="personas" class="required label">No. de Personas:</label>
<input type="text" id="personas" name="personas" value="1"/>
</p>
<p>
<label for="carta" class="label">Elija una Carta:</label>
<select type="dropdown" id="dropdown" name="carta">
<option value="Carta 1">Carta 1</option>
<option value="Carta 2">Carta 2</option>
</select>
</p>
<p>
<label id="note" for="notebox" class="label">Observaciones:</label>
<textarea id="notebox" name="notebox" cols="28" rows="5"></textarea>
</p>
<p>
<label></label>
<input type="submit" id="submit" class="medium gray button" value="Enviar" />
</p>
</form>
****************
Thank you for your help.
I just solved the problem.

In the Forms Edit->Fields, I selected Textbox instead of Date.
And in the Html I leave it like: type="date".
With this, the browser show me the box to select the date but post it in DB as a Textbox when I click submit.

<p>
<label for="reserva_date" class="label">Dia</label>
<input type="date" id="date" name="reserva_date"/>
</p>

;-)


RE: Date Field doesn't show in the view or email v2.2.5 - Joe - Feb 8th, 2013

Thanks for the update!

Cheers,

Joe