Quantcast
Channel: Dolibarr Forum :: Topics in Category: Creation of a New Module
Viewing all articles
Browse latest Browse all 440

Issue with my first form in my first module - by: Andromedae

$
0
0
Hi everybody,

I’m a new one in the Dolibarr environment and I’m trying to understand the software with these scripts.
My objective is to create a simple module with simple Dolibarr functions : statistics, forms, object detail forms, …

This module will let me to handle easily base functions and maybe create an advanced module later.

I’m working with Dolibarr 6.0.
I didn’t use the ‘modulebuilder’ but I followed the wiki in order to create my simple module.

Up to now most of things seems to work, but I’m getting a strangely issue with my form.
I don’t overcome to save data into my database because two fields (datenaissance and fk_country) give me an error.

I attached to this topic my simple module, hopefully to get help in order to solve my issue.

I think that the issue is located between card.php and moduletestmyobject.class.php
I don't know if I have to modify create function in moduletestmyobject.class.php. I got this file thanks to this command :


Thank you very much and I apologize if my English is not perfect.

Cheers,

Valentin

[File Attachment: moduletest.zip]

Viewing all articles
Browse latest Browse all 440

Trending Articles