Forums

(SOLVED) Edit from, Drop down (dynamic data) no load ..

agritechtrade 27 May, 2013
Hello,

sorry my English is very bad,

I have a form with a drop down that contains data loaded with DB Multi Record Loader. When I create a new record (token = 0), the drop down works perfectly. during submit, the value of Drop down into the database is an integer (ID_ACHETEUR) which corresponds to the ACHETEUR to the registration table.

When I want to edit the registry (token = val), the drop down does not display the different possibility.

I tried everything but without success.

How can do you do when editing a form, we puissons show the different possibilities of dropdown loaded with DB Multi Record Loader?

Thank you for your help.
agritechtrade 27 May, 2013
This is resolved.

Column in my database name had as: acheteur. The model used for the DB Multi Record Loader was also acheteur.

I renamed the column in my database is acheteur_id his works.
GreyHead 27 May, 2013
Hi agritechtrade,

You can post in French if you prefer - or French plus a Google translation for other readers. I'll probably understand enough.

Use the Debugger action to see the data that is being loaded.

Bob
agritechtrade 27 May, 2013
ok,

tout d'abord je vous félicite pour votre produit . Nous avons pris la souscription car cela nous fait gagner beaucoup de temps sur nos différents formulaires de nos composants. De plus l'ajax avec formcheck fonctionne à merveille.

Mon problème est résolu car j'avais le même nom de colonne dans ma base de données que le nom indiqué dans "Model ID". Ayant modifié le nom de la colonne dans la base de donnée , cela a fonctionné.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount

{item:title} {images:#}