Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Bots and plugins
»
Anyform plugin
« previous
next »
Print
Pages: [
1
]
Author
Topic: Anyform plugin (Read 9330 times)
bledi
Full Member
Posts: 244
Anyform plugin
«
on:
January 28, 2018, 16:00:43 »
Hello
I am trying to create a form of terms and consitions accept using a email form.
I need that the contract or terms and conditions to be part of the input item form, so to receive it in the email together wit the other items name, telephone, email etc..
I was trying "custom item" none of the items can include the contract itself (2 pages) to be input form element. Is rhat any way to do that
Thanks in advance
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Anyform plugin
«
Reply #1 on:
January 30, 2018, 22:46:06 »
"custom" form type is only to display html code inside form. You cannot get this text in the email. You only get as result the input form elements like text, select, radio, etc. I trick that you can try is to write the terms inside a "textarea" element and hide it with css.
<item type="textarea" name="comments" label="Terms and Conditions" default="" tip="" class="elx_invisible"><![CDATA[Blah blah blah]]></textarea>
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Blacksoll
Full Member
Posts: 111
Re: Anyform plugin
«
Reply #2 on:
April 05, 2018, 08:43:39 »
Another issue i have with anyform :
In .xml i put at label="
my custom title is too big & when i sudmit form i get email with only some characters and not complete title of the form
"
Where can i change the number of characters that form sends for label title ?
Logged
nikos
Elxis Community
Hero Member
Posts: 1094
Anyform plugin - Form resubmission control
«
Reply #3 on:
April 06, 2018, 00:45:48 »
In a form published only for registered users, I would like to control if it has been submitted by a user so in case that the user attempts to resubmit the same form, to see a message "you have already submitted this form".
Is it possible to include this useful option in a next plugin update?
«
Last Edit: April 06, 2018, 00:58:28 by nikos
»
Logged
Elxis Community |
Open Source Web Lab
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Anyform plugin
«
Reply #4 on:
April 09, 2018, 10:58:29 »
@Blacksoll: This is not an AnyForm issue. RFC2822 says that the e-mail subject length should not be more than 78 characters per line. Different mail clients may handle this restriction differently.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Anyform plugin
«
Reply #5 on:
April 15, 2018, 11:07:04 »
I post a reply of a PM here for anyone interested in.
By default AnyForm does not allow "questions" of more than
25 characters
in email texts. If more than 25 characters is strips them to 25 characters. To change this open this file:
components/com_content/plugins/anyform/anyform.plugin.php
go at the end of file in line 1411 and change this:
$text .= eUTF::substr($left_string, 0, $left_width).':';
to this:
$text .= $left_string.":\n";
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Blacksoll
Full Member
Posts: 111
Re: Anyform plugin
«
Reply #6 on:
April 15, 2018, 21:11:51 »
Since my first post here, back in 2006, Datahell and all the other guys are here to deliver excellent support !!!
This is what makes a product great !
You really came through, proving what it means to be a "team player."
Thank You for your help!
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Bots and plugins
»
Anyform plugin