Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#121 2018-10-06 10:56:06
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
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
phiw13 on Codeberg
Offline
#123 2018-10-06 20:16:54
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
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
phiw13 on Codeberg
Offline
#125 2018-10-12 07:58:55
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
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
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,316
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
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
phiw13 on Codeberg
Offline
#129 2018-10-12 12:53:00
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
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,331
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
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
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
phiw13 on Codeberg
Offline
#133 2018-10-13 17:02:42
Re: com_connect - form and contact mailer
phiw13 wrote #314591:
You’ll have to edit the language string, the
nameto editcom_connect_form_used
^^ nice! I couldn’t see it there!
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#134 2018-10-14 09:36:02
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: com_connect - form and contact mailer
I will continue to annoy you. ;)
placeholder for com_connect_select tag – is it possible somehow?
Offline
#135 2018-10-14 12:39:14
Re: com_connect - form and contact mailer
What do you mean by “placeholder for com_connect_select tag”? There is no placeholder attribute for the select tag.
You probably want an empty option as first item, the example in the help file provides some way of doing it, but I never could get it to validate, plus I wanted to show some text: “Please select one”. I ended up building my select thing manually:
<div class="input-field contact-subject"><txp:com_connect_select break="" class="" label="Subject" name="subject">
<txp:hide><!-- Note that with the manually created option element, Firefox does not display the label, but that is a bug (#40545) -->
<txp:com_connect_option class="" selected="1" value="" label="Select one">Select one</txp:com_connect_option></txp:hide>
<option selected value="" label="Select one"></option>
<txp:com_connect_option class="" label="General enquiry" value="General enquiry" />
<txp:com_connect_option class="" label="Site issue" value="Site issue" />
<txp:com_connect_option class="" label="Other…" value="Other…" />
</txp:com_connect_select></div>
Like this one.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline