Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Ελληνικό Forum
»
Δημόσιο Βήμα
(Moderators:
CREATIVE Options
,
rentasite
) »
e-form custom input names
« previous
next »
Print
Pages: [
1
]
Author
Topic: e-form custom input names (Read 10685 times)
e-isodos
Jr. Member
Posts: 69
e-form custom input names
«
on:
May 05, 2012, 13:43:55 »
Hi,
I want to make a form with eforms, but I want the input names to be custom and not formname1, 2, 3 etc.
Is there a way to do it?
Is there a way to have the input names inside the xml file. That will be the best solution.
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: e-form custom input names
«
Reply #1 on:
May 07, 2012, 09:59:25 »
Can you explain us the custom names of the input types? Are you going to use more than 1 {eform}{/eform} tags on your website? You can do that by editing the source code of the bot.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
e-isodos
Jr. Member
Posts: 69
Re: e-form custom input names
«
Reply #2 on:
May 07, 2012, 15:28:26 »
Hi, thank you for your answer.
I am going to use more than one form, but the fileds can have the same name.
This would be :
checkin, checkout, adults, children, rooms
in several languages.
So I am just changing the labels of each form to adjust on each language.
Any suggestions?
Logged
e-isodos
Jr. Member
Posts: 69
Re: e-form custom input names
«
Reply #3 on:
May 07, 2012, 15:29:49 »
And one more question, how to change the format of the date, so it will have the format "dd/mm/yyyy)
Logged
e-isodos
Jr. Member
Posts: 69
Re: e-form custom input names
«
Reply #4 on:
May 10, 2012, 05:15:38 »
anyone?
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: e-form custom input names
«
Reply #5 on:
May 10, 2012, 09:28:20 »
No. You can't do that. eForms bot generates certain name for each input. However you can create as many forms you like on each language. Have you seen that documentation about:
http://wiki.elxis.org/wiki/Eforms
?
Quote from: e-isodos on May 07, 2012, 15:29:49
And one more question, how to change the format of the date, so it will have the format "dd/mm/yyyy)
File : mambots/content/eforms.php
Line : 676
Change the line :
if (($field->type == 'date') && ($field->default == '')) { $field->default = date('Y-m-d'); }
to :
if (($field->type == 'date') && ($field->default == '')) { $field->default = date('d-m-Y'); }
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
e-isodos
Jr. Member
Posts: 69
Re: e-form custom input names
«
Reply #6 on:
May 10, 2012, 21:39:46 »
THANK YOU FOR YOUR ANSWER.
DO YOU KNOW ANY OTHER WAY TO BUILD FORMS IN ELXIS WITH MORE CUSTOMATION (INPUT NAMES)?
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: e-form custom input names
«
Reply #7 on:
May 11, 2012, 09:45:13 »
You are welcome e-isodos.
Can you explain me why do you want to use different input
names
? Are you going to use 2 different forms on the same article? Are you going to add some javascript code? In any other case i think that you can do that with eForms bot.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Ελληνικό Forum
»
Δημόσιο Βήμα
(Moderators:
CREATIVE Options
,
rentasite
) »
e-form custom input names