The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
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ó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ó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é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ón de Reservació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 |