Discussion on DataManager: Tables & Forms handler for Bootstrap

andufo

andufo supports this item

Supported

This author's response time can be up to 2 business days.

65 comments found.

Hi I’m Luis from Spain

the edit page gives me validation error

See in www.factoriacad.com/midespensa/datamanager/fabricante.php

Code: <? include(‘inc/config.php’); $page[‘title’] = ‘Edición de fabricante’;

  1. table $table[‘name’] = ‘fabricante’; $table[‘id’] = ‘id_fabricante’; $id = ($data = form_check()) ? $_GET[‘id’] : false;
  1. fields arrayname $fields[‘nombre_fab’] = array(true, false, 2, 50); $fields[‘email_fab’] = array(true, ‘email’); $fields[‘telefono_fab’] = array(true, false, 2, 15);
  1. save data form_save(); ?> <?include(‘header.php’)?>

<?form_header()?>

<?form_input('Nombre', $data['nombre_fab'])?> <?form_input('Email', $data['email_fab'])?> <?form_input('Teléfono', $data['telefono_fab'])?>

Thank you

I’m glad you figured it out. It was mostly probable a php configuration setting (smart tags or something like?)

Thanks, I’ve already figured it out

Great! :)

Hi how can I change the “Search:” & “records per page” labels? Thank you

Hi luigixpl, please check the jquery.datatables.js file and search for the definition of sLengthMenu in oLanguage.

Thank you

hi buddy. i set the options but i can see the submit button at example.edit.php file

check here: http://site.liberdadereligiosa.org.br/contatos/example.edit.php

thanks

Then it must be something else. Please attach a screenshot of the network response in the Developer Tools of your browser to check the specific error.

theres another way to contact you to send the information? skype? telegram?

send an email via the contact form, so i can reply in there.

Hi, I have been trying for weeks now to get the form to work with datetime and time form fields but have had no success.

Do you have examp[les of this working so I can adapt to work with my form?

Regards

Alan

Hi, please check the demo. There’s an example on how to use the date field:

1. prepare field

$fields[‘birthday’] = array(true, ‘date’);

2. print field

<?form_date('birthday', $data['birthday'])?>

I need date and time not just the date.

Alan

The datamanager uses this jquery plugin https://uxsolutions.github.io/bootstrap-datepicker/ which doesn’t support time format in the control. Sorry. If you want time you have to implement a different jquery library within the datamanager.

by
by
by
by
by
by