button and insert data into a database

devaite 24 Mar, 2015
Hi all,

this is my first time here, so reggards to all.

I have this form with chronoform and i would like to insert a field to upload an image, us 2 dropdownlists and with a button insert into the database created on joomla.

Whats the better way to do it?

๐Ÿ˜‰
GreyHead 24 Mar, 2015
Hi devaite,

Click the new form button and give your form a name.

In the form Designer tab add two Dropdown elements, a File Field element and a Submit Button. Configure as needed. (I recommend that you give the elements meaningful names and ids.)

In the Setup tab add an HTML (render form action) to the On Load event; and an Upload Files and DB Save action to the On Submit event.

Save and Close the form; check the box at the left of the name and then the Create Table icon in the toolbar. Check and format the columns you need (i,e, not the submit button). Save

Open the form again and link the DB Save to the new table.

Save and Test.

Bob
This topic is locked and no more replies can be posted.