Forums

Change Form Titles in CSV File

avneet 19 Aug, 2011
Hello,

What part of this code is used to change the titles of each form in the CSV file? Currently it shows text_1, etc.

<label class="cf_label" style="width: 150px;">First Name *</label>
<input class="cf_inputbox required" maxlength="150" size="14" title="" id="text_2" name="text_2" type="text" />

Thank You
GreyHead 20 Aug, 2011
Hi avneet,

ChronoForms uses the name attributes - name="text_2" here.

Bob
avneet 20 Aug, 2011
Hi,

When I change the name field to First Name and test out the form, it comes back empty on the database side. But if I leave the name field as text_2, it comes back with whatever I fill the form as. What is causing this?
GreyHead 21 Aug, 2011
Hi avneet,

Spaces aren't allowed in name attributes.

Bob
avneet 21 Aug, 2011
Hi,

I tried changing the name attribute to "firstname" and it still shows up as text_2 in the database. Do I also have to make changes in the database somewhere?
GreyHead 22 Aug, 2011
Hi avneet,

You need to change the database table so that the column names match the input names from the form.

Bob
avneet 22 Aug, 2011
Hi,

How do I edit the table? If I go under table manager and click the pencil(edit), I can't update the table column names that are in green.
GreyHead 22 Aug, 2011
Hi avneet,

PHPMyAdmin.

Or, if there is no useful info saved, you can delete the table and recreate it.

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

VPS & Email Hosting 20% discount

{item:title} {images:#}