Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#121 2018-10-06 10:56:06

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: com_connect - form and contact mailer

Looks OK from here


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#122 2018-10-06 11:49:55

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

Re: com_connect - form and contact mailer

Gallex wrote #314442:

aaa, there was a typo in your first code – visiblity – “i” is missing. ;) i copy-pasted your first code. it’s working now, thank’s!

Yay! good. Now that typo… guilty as charged. (typical me, btw). I will go back to my corner and type 100 times visibility on the blackboard.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#123 2018-10-06 20:16:54

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: com_connect - form and contact mailer

phiw13 wrote #314431:

[style^=visibility]

Wow, that is new CSS magic to me. I never had need to consider that before. (Very useful here!) Where should I read more about that specific notation/functionality?

Offline

#124 2018-10-06 23:21:47

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

Re: com_connect - form and contact mailer

Destry wrote #314454:

Wow, that is new CSS magic to me. I never had need to consider that before. (Very useful here!) Where should I read more about that specific notation/functionality?

Look for attribute selectors, and especially for substring matching attribute selectors. Selectors level 3 spec.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#125 2018-10-12 07:58:55

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: com_connect - form and contact mailer

is it possible to change the text “Please fill out this field.”? didn’t find such a place from plugin source…

Offline

#126 2018-10-12 08:11:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: com_connect - form and contact mailer

Gallex wrote #314558:

is it possible to change the text “Please fill out this field.”? didn’t find such a place from plugin source…

That is a browser feature and not from the plugin. FF actually adds that line but Chrome shows Please fill in this field.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#127 2018-10-12 12:15:49

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: com_connect - form and contact mailer

You can override that text by using com_connect’s placeholder-attribute.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#128 2018-10-12 12:35:48

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

Re: com_connect - form and contact mailer

uli wrote #314566:

You can override that text by using com_connect’s placeholder-attribute.

I don’t think so. What Gallex is seeing is the browser message after the user attempts to submit the form, but there is a required field that is left blank or contains invalid data. IOW, the built-in browser validation. Afaik, you cannot override it. Colak is correct.

Like this.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#129 2018-10-12 12:53:00

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: com_connect - form and contact mailer

It wasn’t my intention to disagree with Yiannis, just to complement. But as so often, if someone says something plain wrong, the correction follows on the heels. And as so often I’m offering as the guy to say something plain wrong :)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#130 2018-10-13 07:48:21

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: com_connect - form and contact mailer

but can i change “the form has expired, please try again”? didn’t find from source either. client request. ;)

Offline

#131 2018-10-13 10:28:37

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: com_connect - form and contact mailer

Gallex wrote #314588:

but can i change “the form has expired, please try again”? didn’t find from source either. client request. ;)

This is a safety feature. In the source code search for

'expire'           => 600,

change the number as needed.

> Edit. If you are talking about the actual phrase. It is again a browser feature. Not a software one.

Last edited by colak (2018-10-13 10:30:47)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#132 2018-10-13 10:34:36

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,188
Website

Re: com_connect - form and contact mailer

Gallex wrote #314588:

but can i change “the form has expired, please try again”? didn’t find from source either. client request. ;)

You’ll have to edit the language string, the name to edit com_connect_form_used


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB