Questions tagged [validation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
662 views

Solspace Freeform inline errors / Ajax validation and composer

I'm using Solspace Freeform with a composer to built forms and found that I can use inline errors and Ajax validation with Freeform here, but documentation doesn't mention how to use it with a ...
2 votes
2 answers
849 views

Any way to restrict image size on upload?

I have some fields where multiple images are uploaded. These images need to be created manually to ensure they're cropped correctly, and I want to ensure that each field only accepts an image cropped ...
1 vote
1 answer
170 views

Call to undefined method EE_Form_validation::error_array()

I've updated EE from 2 to 5. I've a custom module where I need to validate a form. In the new EE 5 the function $this->EE->form_validation->error_array() does not exist anymore. I'm using it in the ...
0 votes
1 answer
822 views

Codeigniter style validation callback function not working

I've created an EE custom addon that processes a simple enquiry form. All works well but I'm trying to add a callback function to my validation rules and it appears to be completely ignored. Here's ...
1 vote
0 answers
42 views

URL Title Ajax Validation

I'm running an install of EE v3.5.14 and I'm trying to replicate some of the functionality of the old "Title Master" add-on, but I'm hitting a snag. I've got my extension to hook to the ...
0 votes
1 answer
134 views

Stop Solspace freeform injecting a validation script

I'd like to use Bootstrap validation with my Solspace Freeform, but I can't figure how to stop Freeform from adding it's default validation script to the page. I've tried using a custom form template ...
0 votes
1 answer
88 views

WYGWAM causing Undefined property: EE::$view on validation failure of Channel Form

I'm using the latest version of ExpressionEngine (2.9.2) and the latest version of WYGWAM (3.3.3). I've a Channel Form which includes the WYGWAM field and when I submit the form I receive the ...
1 vote
1 answer
81 views

Krea Content Elements loses content when there's a validation error

We're using Krea Content Elements (http://www.krea.com/content-elements) on a new site and have discovered that if a standard EE validation issue fires, (i.e. a required field missing content) that on ...
0 votes
1 answer
138 views

Freeform and Abide

What'd be the best practice to add Abide validation to Freeform? http://foundation.zurb.com/sites/docs/abide.html <form data-abide novalidate> How do I drop something like 'data-abide ...
0 votes
2 answers
99 views

"Google Maps for ExpressionEngine" field validation with Zoo Visitor Update Form

I am using Google Maps for ExpressionEngine field type with Zoo Visitor update member entry form. But I couldn't make this field type as Required. I tried by having "Is this a required field?" as "...
0 votes
2 answers
99 views

Page doesn't scroll to form if validation errors are shown

I have a FreeForm form at the bottom of a page. When the form is submitted and returns with a validation message, the user is bounced back up to the top of the page. Is there a way to make sure the ...
0 votes
1 answer
152 views

Freeform Pro Composer - retain field values on error

I have a form which was built using composer - there is about 12 fields in it and at the minute if completed without a required field or there is an error in the form the form is loaded again blank to ...
1 vote
0 answers
85 views

store checkout tag does not display order_email error

This is all done as a guest user, I am not logged in when I go thru the checkout process and the store setting allows for guest customers. I have the create an account form on the order checkout page,...
0 votes
1 answer
486 views

Profile:Edit with jquery.validate

Does anyone have jquery.validate working with Profile:Edit? I have a form set up with jquery validation working using jquery.validate.js, everything working as expected. As soon as I try to use the ...
0 votes
1 answer
105 views

Expression Engine RSS Feed PubDate doesnt validate

I'm running out of ideas, could you please tell me what am I doing wrong? When trying to validate my rss feed I get the error that pubDate is in incorrect format. Even though it looks the same as ...
1 vote
2 answers
442 views

Add form to EE Module for front end processing

I am trying to add a form on the front end so my users can use crud functionality and allowing me to add responsiveness to the form. I have been pointed in the direction of an article and examples ...
0 votes
1 answer
225 views

form validation for module mod file template tags

I am creating a dynamic form on the fly for use in EE templates. I create the tags using the mod.module_name.php file of my module. I am trying to run validation on the form, every field is required ...
0 votes
1 answer
77 views

Not getting notification of required fields

I have a Freeform Pro form that has a few required fields and uses a submit button to check server response time. The form works fine, stores the data in the Freeform database when submitted, etc. But ...
1 vote
0 answers
211 views

How can I show the error message for the _confirm field in freeform when matching_fields does not validate?

I'm trying to display an inline validation error when these two fields do not match: {freeform:field:email} {freeform:field:email_confirm} Which outputs the following html: <input type="text"...
0 votes
1 answer
395 views

Validate a freeformpro with Parsley and define required fields

first post here. For what I understand, I need to add 'data-parsley-validate' to the form tag and 'required' and some other options for the fields. I have been using Composer but even if I can define ...
0 votes
0 answers
102 views

Validating "Relationship" fields with ExpressionEngine Channel Form (SafeCracker)

I'm trying to get the built in ExpressionEngine Channel Form (formerly Safecracker) validation working for a custom relationship field I have. This is using the rules parameter. Markup snippet of the ...
0 votes
0 answers
123 views

Member registration rejecting valid selection option

I have a member registration form with standard fields. One of them is State, which is a Select List with state abbreviations as options. Lately, when users attempt to register, they are told The ...
1 vote
0 answers
523 views

Freeform - validating file upload field by filetype

We have setup a freeform composer template that has a file upload field, this field is limited to JPEG and PNG filetype only. However we would like to validate the field inline (by default the user is ...
0 votes
1 answer
356 views

How do I process form data with a php script inside expressionengine?

I have an ee site that has tons of forms that are currently live. These forms are submitting data to a third party service using that service's custom submission code (which has nothing to do with ee ...
3 votes
1 answer
140 views

What is the level of risk in enabling user-uploaded photos in EE?

I know there will always be some level of risk when allowing user-submitted data, but what exactly does EE do natively to filter, validate, and sanitize photo uploads through the standard interface? ...
1 vote
1 answer
526 views

Displaying form submission errors inline

Is there module to improve the errors in Expression engine ? The in build system is pretty cumbersome and without spending time building multiple form validation classes I would like something that ...
-3 votes
1 answer
58 views

mightybigrobot profile:Edit forms are not valid html [closed]

I have lots of unescaped ampersands in this form. How can I fix this so I can validate my page as html5
1 vote
1 answer
387 views

Is there a way to validate statuses when using channel forms?

I'm trying to prevent users from changing statuses via the {exp:channel:form} tag, but there does not seem to be a built-in way to actually validate the status on form submission. I have tried using ...
1 vote
1 answer
82 views

Safecracker File client side validation options?

I'm trying to find the definitive way of validating whether a Safecracker File custom field has been filled in or not. The server side method using the Codeigniter validation class only semi works for ...
0 votes
0 answers
782 views

How to upload file using ajax and file extension validation using ajax in freeform?

I'm using Freeform 4.0.11. I have a form, which i want to upload file using ajax and also check file extension validation using ajax. Except file upload field, every fields value are submitted, but i ...
3 votes
1 answer
590 views

Username field validation on registration form

I have absolutely zero experience with Expression Engine but I've been given a task to fix a validation on a registration form. There's a username field that is supposed to validate as email address ...
2 votes
3 answers
470 views

Javascript Validation not working on EE FreeForm

My script works when its all coded without FreeForm, but when I use FreeForm I cant get it to validate text boxes. I want the javascript to load up a pop that tells the user they need to fill in the ...
4 votes
1 answer
237 views

Zoo Visitor + Radio button & Matrix fields + Inline error handling

These don't seem to be playing very nicely together. Here's what's happening: I've got a Zoo Visitor registration form that contains generic member fields and well as a couple of required custom ...
2 votes
1 answer
415 views

Add custom validation to Content_publish form

In our system, entries are created from the Control Panel, and one of our custom entries needs more complicated validation rules. Basically, depending on the status of the submitted entry, we need to ...
3 votes
1 answer
280 views

Why doesn't the content of the page load again after postback?

I'm using the form_declaration() function in a module, and I fire a method when the form is submitted. I set the form's action to loop back to the sender so I can do some form validation serverside. ...
2 votes
1 answer
367 views

Is it possible to check if a Freeform Pro form has any kind of error?

In my template I have a Freeform Pro composer form with inline error handling turned on. I know that I can check if a certain field has an error by going: {if freeform:error:{composer:field_name}} ...
1 vote
1 answer
1k views

custom form validation class for a module I am building

I am building a module for EE2 and I want to extend CI's form validation library. I also want a separate language file too, kept within my module's directory so it's separate from future EE updates. ...
1 vote
1 answer
369 views

How do I prevent users from entering HTML tags in a safecracker form?

I'm working on an EE powered website which also serves data to a mobile app. I'm trying to make a safecracker form, but one of the fields cannot have HTML code in it or the app breaks. How do I stop ...
1 vote
1 answer
386 views

Ajax Login Validation using native EE function

I'm rather new to EE, and I'm having a hard time finding some stuff in it. I started working on a legacy site that is pure EE template and for every validation it goes to a new page. I'm wanting to ...
1 vote
2 answers
522 views

Need to programatically register users, and validate a code they enter

This one is a doozy for me, and I really need some input / advice. Basically, I have a client who runs an independent magazine, and they use a system that can output a list of subscribers, and their ...
1 vote
1 answer
238 views

Validation issue with Zoo Visitor Update, SafeCracker Registration / SafeCracker Update Forms in one template

I have one template that has three separate forms. None of these are nested. The first is on the "/your-account page" and the other two are in modals. On this account page a user can update their info ...
0 votes
1 answer
49 views

Safecracker submitting form before finished

I have a relatively simple multipage safecracker form where users can upload an image on the first page, approve the image and add a description on the second, then add tags on the third. All three ...
1 vote
3 answers
204 views

Email not unique?

Is there a way to remove the validation for unique email addresses. I got a customer with a lot of members that must be imported into EE. But a lot of members doesn`t have a email address and a lot ...
2 votes
2 answers
27k views

How can I stop a form submit and validate with javascript?

I've come across a form that, on the rendered page, looks like this: <form id="mx_locator" name="mx_locator" method="post" action="search-results"> <!-- form elements --> <span>...
2 votes
2 answers
188 views

How can Safecracker check for a unique url_title field?

I have a safecracker form that allows users to enter a url_title. If url_title is already used, by default, a number gets added to url_title so it’s unique. But instead of having this automated ...
2 votes
1 answer
2k views

Freeform Pro AJAX Validation with AJAX Submit using jQuery Form plugin

I'm using the jQuery Form plugin (http://malsup.com/jquery/form/) to return an AJAX message on successful submission of a contact form. However, I also need to do AJAX validation. My current form and ...
3 votes
1 answer
100 views

in Expression engine form Admin section there is option of validating "Is this a required field?"

in Expression engine form Admin section there is option of validating "Is this a required field?". doing the check box also it the validation is not working. please any body help me as soon as ...
0 votes
1 answer
1k views

How can I validate against a minimum number of words in a safecracker textarea?

I have a working safecracker entryform. My client would like visitors to write at least X words before submitting the entry. I would like to show the number of words a visitor has typed in real time (...
2 votes
1 answer
1k views

Freemember email validation for specific domain using jQuery

I'm trying to verify a Freemember registration form email input using jQuery to check for a specific domain. Below is the jQuery I'm using, ultimately my goal is to prevent the form from being ...
1 vote
1 answer
449 views

Freemember Update Profile forms not working

Another day, another question! I've started using Freemember (really like the inline validation). So i have an update password form. {exp:freemember:update_profile return="members/account/{...