• Resolved JustDuckyDesigns

    (@justduckydesigns)


    Love this plugin so far! I’m using it for a petition being done by some high school/middle school kids. We don’t need to collect their address, but we’d like to collect their age and the name of the school they attend. Is there a way to modify the form to change something like the “street” and “city” fields to instead say “If you are a student – enter your age and name of school you attend” — or something like that?

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author SpeakOut!

    (@123host)

    There sure is.

    In the dashboard > SpeakOut! > Petitions > edit petition page, hide the address fields and activate the custom field. You can give that any label you want.

    Thread Starter JustDuckyDesigns

    (@justduckydesigns)

    I was hoping to use two fields – rename one for “Age” and one for “Name of School” – is there a way to do that? If you tell me where to find the file with the form fields, I can figure it out. I understand that any changes I make would be overwritten by updates.

    Thanks.

    Plugin Author SpeakOut!

    (@123host)

    Have a look at wp-content/plugins/speakout/includes/emailpetitions.php (from memory). If that isn’t it get back to me and I will actually look it up :o)

    Thread Starter JustDuckyDesigns

    (@justduckydesigns)

    That’s not it – I already looked at that, it was my first thought as well. ??

    Thread Starter JustDuckyDesigns

    (@justduckydesigns)

    Sorry – I didn’t see that it was within “Includes” – I’m trying that right now.

    Thread Starter JustDuckyDesigns

    (@justduckydesigns)

    I was able to edit that file and change the field name that displays on the form/petition to be “Age” and “Name of School”. Now one more issue – the database that stores the information on people who sign the form still uses the “City” and “State” as the field labels. Is there a way to change that – so that when we store the information we can import it into our Mailing List form with the correct field labels?

    Thanks so much for the great support!

    Plugin Author SpeakOut!

    (@123host)

    Great!

    BEWARE! There be dragons in the database. Changing the name of a database field WILL have repercussions elsewhere in the plugin. You will have to edit right through the plugin so that any database updates or retrieves know the new name of the field. I strongly advise against it unless you _really_ know what you are doing.

    My suggestion is to leave the database field title as is, download the CSV file and then edit the field name in the CSV. In fact, generally it doesn’t even matter what the field name is, you are going to be importing the data and the field name is usually dropped.

    Thread Starter JustDuckyDesigns

    (@justduckydesigns)

    Great advice! I’m pretty good with databases, but I know what you mean – it’s better to leave this as is and edit the names after the fact. That’s what I will do.

    Thanks so much for the outstanding tech support!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Custom Fields’ is closed to new replies.