Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [validation]

The tag has no usage guidance.

1
vote
1answer
34 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
81 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
139 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
213 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
220 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
660 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
844 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 ...
6
votes
3answers
660 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
767 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
163 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
866 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="...