Questions tagged [validation]

Validation is used to check data to make sure it fits whatever required specifications are set for it. Typically Validation is used in checking input data, and in verifying data before storage.

Filter by
Sorted by
Tagged with
1
vote
1answer
41 views

How to use form rules programatically to validate data outside a form

I've created a component where an admin can bulk upload users and I want to validate the email addresses before creating those users. The XML definition of the form for creating or modifying a user (...
1
vote
2answers
166 views

Client side validation - custom event handler not called when user enters the field and leaves it being empty

I'm working on a JForm with some fields with custom event handlers to do client side form validation as it is described in this document The document says that "Joomla adds a blur handler to validate ...
1
vote
1answer
244 views

getimagesize($file['tmp_name'])=== false is not working in php 5.6

I am using the below code to validate an image. getimagesize($file['tmp_name'])=== false It's working fine in php 5.2 (wamp server local), but not working in live website(php 5.6). ...
0
votes
1answer
259 views

BreezingForms unique user email validation problem

I've created a form using BreezingForms(free). Before submitting the form I'm checking if the entered email address is unique using the "Before submit" field in my form settings. The code I am using ...
2
votes
1answer
260 views

Joomla 2.5 email validation issue

There seems to be a major issue on several v2.5.7 sites I've been asked to help with, where emails are not being validated when entered into the built-in com_contact component on a standard contact-us ...
3
votes
1answer
719 views

how to Validate captcha before submit a form in joomla

I have installed 5 captcha plugins in my joomla site and i set any one captcha out of 5 in com_users configuration in backend of joomla. So how can I want to validate that captcha from client browser ...
1
vote
1answer
964 views

Form-Validation in Frontend

I'm trying to get my component ready for frontend-action. There are some forms that are filled by the user - but of course I have some fields that need specific values (int, float, ...) and some ...
5
votes
3answers
710 views

Editor stripping Script

I have a form which has been created in a CRM and then the code copied in to the website and updated to make it look and read better. However, when I copy the code in, the "script" at the bottom of ...
2
votes
1answer
817 views

Using JHtml::_('behavior.formvalidator') in JForm gives empty error messages

I'm using Joomla! 3.4 core form validation and it seems to fire perfectly, but the error messages added to the alert are blank, hence I cannot see what the error is. What am I doing wrong? Here is ...
0
votes
1answer
175 views

Joomla 3 accepts invalid urls

I have a Joomla 3 site. It works fine, but I found out that it can display contents for invalid links for example i tried something like this: http://mysite/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16 ...
6
votes
2answers
984 views

How to use a regex to validate a FormField?

Is there a way to simply validate a form field with a regular expression? I thought about something like this: <field name="firstname" type="text" label="Firstname" validate="regex" regex="...