Free attribute type Textfield: limit characters

25.08.2023 07:07
#1
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
Free attribute type Textfield: limit characters

Hi

I use a free attribute of type textfield.

I need to limit the number of characters the user can enter.

Is there a way to do so? Override?

Thanks.


Joomla: 4.3.4
JoomShopping: 5.2.0
 
25.08.2023 07:49
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Free attribute type Textfield: limit characters

add example: maxlength="50"

plugins\jshoppingproducts\freeattributetype\freeattributetype.php
row 31

 
25.08.2023 15:10
#3
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
Aw: Free attribute type Textfield: limit characters

Hi

But on next update it will get lost(?)

And I need three text fields with a different length each.

It would be great to have the possibility to set this as parameter in each field settings.


Letzte Änderung: 25.08.2023 15:11
 
26.08.2023 09:27
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Free attribute type Textfield: limit characters

Use addon:
https://www.webdesigner-profi.de/joomla-webdesign/shop/addons/free-attribute-validation.html

 
28.08.2023 09:33
#5
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
Aw: Free attribute type Textfield: limit characters

I did install it and set max. characters.

But it still is possible to enter more chars.

Here limit should be 7 chars:
https://www.fabulas.ch/shop/product/view/7/217.html

I have sent you backend access.


Letzte Änderung: 28.08.2023 09:36
 
28.08.2023 11:49
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Free attribute type Textfield: limit characters

Warnung
Fehler Daten kostenlos Attribut Name (max. 7 Zeichen). Er muss String. Max. Länge: 7.

 
28.08.2023 12:04
#7
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
Aw: Free attribute type Textfield: limit characters

Sorry, I don't understand your answer.

I already have set string and max. to 7 (please see screenshot).
Aw: Free attribute type Textfield: limit characters


Letzte Änderung: 28.08.2023 12:05
 
28.08.2023 12:04
#8
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
Aw: Free attribute type Textfield: limit characters

Frontend:
Aw: Free attribute type Textfield: limit characters

 
28.08.2023 12:21
#9
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Free attribute type Textfield: limit characters

Error after add to cart

Warnung
Fehler Daten kostenlos Attribut Name (max. 7 Zeichen). Er muss String. Max. Länge: 7.


Letzte Änderung: 28.08.2023 12:21
 
28.08.2023 13:22
#10
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
Aw: Free attribute type Textfield: limit characters

OK, I see. I was expecting that entering more than 7 chars is not possible.

 
28.08.2023 15:17
#11
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Free attribute type Textfield: limit characters

will be in new version addon

 
02.09.2023 10:11
#12
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Free attribute type Textfield: limit characters

new version
Free attribute validation 2.2.0 (JoomShopping 5.0.0+)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.