×

Notice

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

TOPIC: Automatic fill in the name

Automatic fill in the name 10 years 9 months ago #24912

  • Webmaster TAN Midden
  • Webmaster TAN Midden's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hello All
In the Matukio bookingfields the Email adres is filled in automatic.
Is it possible to do the same with the first and last name.
I only work with logged in users.
It wil be al lot easer to book the event.

Greets Herman

Automatic fill in the name 10 years 9 months ago #24913

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

only by changing the code - the problem is that the booking form is dynamic, so we don't know what your fieldnames for firstname / lastnames are (and if you even have some) - second problem is that Joomla names are first- and lastname combined while Matukio has single fields for first and lastname (We tried a split regex with the space but that did not work out for many users).

If you don't need any of these fields (because it's supplied by the Joomla user) you could try using the "old" simple booking form (The email and name are automatically used when you are logged in there).

You could also adjust the code a bit to automatically use the Joomla users data (JFactory::getUser()->name etc.), with the above explained disadvantages.

Best regards

Yves

Automatic fill in the name 10 years 9 months ago #24914

  • Webmaster TAN Midden
  • Webmaster TAN Midden's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hi Yves,
The old form is working fine for this moment. I hope there wil be a upgrade in the future.
Thanks Herman
  • Page:
  • 1
Time to create page: 0.133 seconds