×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Booking Fields issue

Booking Fields issue 11 years 3 months ago #22701

  • Glenn McMahon
  • Glenn McMahon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
HI,

I am using Matukio 2.24 on a Joomla 2.5.11 site

Whenever I make a new booking field for example Food Allergies and add the following COM_MATUKIO_FIELDS_ALLERGIES into the Caption/Label/Translationstring field - it appears on the booking form itself in full.

If I remove it from the translation string the field name is blank on the booking form and any data added into it doesn't appear in the CSV file.

Any suggestions greatly appreciated as it's quite frustrating.

Cheers,

Glenn

Booking Fields issue 11 years 3 months ago #22704

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Glenn,

if you want to use translation placeholders you have to write them into a language file or make a Joomla language override:

COM_MATUKIO_FIELDS_ALLERGIES="Allergies" (For en). But you could just insert the "Food allergies" itself into this caption field. Or do you have a multi-language site?

Best regards

Yves

Booking Fields issue 11 years 3 months ago #22737

  • Glenn McMahon
  • Glenn McMahon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi Yves,

I might not have explained it well enough - I can make new fields with captions ok, but when people fill them out and I download the csv file, I don't get any of the info for any new fields I've made for the forms.

If I use the existing booking fields I get the information in the .csv but not for any custom booking fields I make.

Below is a sample of what the form looks like on my website.



I have attached a screenshot of a csv file that has 3 custom fields in it that I made that were name 'school name' school town' and 'food allergies' as well as some of the standard booking fields.



You will see that none of the submitted data for the custom fields ends up in the csv file.

Hope this makes more sense and I look forward to any advice.

Cheers,

Glenn
Attachments:

Booking Fields issue 11 years 3 months ago #22740

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Glenn,

strange, these are all new bookingfields? What fieldnames do they have (Could you perhaps post a screenshot from the bookingfields overview?)

Do you have a link to the booking form for me?

Best regards

Yves

Booking Fields issue 11 years 3 months ago #22752

  • Glenn McMahon
  • Glenn McMahon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi Yves,

Thanks for the quick response.

On the form is a combination of new bookfieds and some of the standard defaults ones.

Here is a copy of the bookingfields overview



Here is a copy of one on the new fields



And here is a link to one of the booking forms itself.

www.ceosand.catholic.edu.au/ceo/professi...11-october-2013.html

Thanks for your help, I'd really like to get to the bottom of this as the details the participants leave on the form are vital for our bookings.

I await your support.

Cheers,

Glenn
Attachments:

Booking Fields issue 11 years 3 months ago #22755

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Glenn:

you have some javascript errors on your page.

Timestamp: 19.09.13 11:56:16
Error: SyntaxError: missing ; before statement
Source File: www.ceosand.catholic.edu.au/ceo/professi...11-october-2013.html
Line: 389, Column: 11
Source Code:
var School Name = document.id('School Name');

Fieldnames are not allowed to have spaces or any other special characters (except underline _), e.g. change Food Allergies to food_allergies, School Name to school_name etc. Fieldnames are mostly used internally (like for id or name etc.) and not shown to any one.

Because of this the second page, export etc. are not working.

Best regards

Yves
  • Page:
  • 1
Time to create page: 0.125 seconds