Hi, I'm using codeigniter and when selecting a dropdown form onchange works and i get my second field ok(Country->City).
When i submit the form with errors, the page reloads with the errors displayed but my onchange stops working.
Any ideas for what's going on?
Hmm, here's what i'm doing. User get's to homepage and fills the form, the on...
Hi guys,
I'm trying to do a validates_format_of on the latlng object that is passed back from Google Maps API. I've got the map set up perfectly so that when I click on a point in the map it fills in a text-field with the latlng (which looks like this: 46.320615137905904, 9.400520324707031). I'm storing this value as a string in the db ...
Hi
I have one one web page which one one textbox for receiving the dollar value. My requirement is the user should insert the digit following by a $ sysmbol. And the second requirement is the user has the permission to insert only like this $123.45. Before the decimal point it should not exceed three digits and after the decimal point it...
I am trying to generate client code for a wsdl using the JAX-WS RI wsimport tool. When I ran the it I get this error:
[ERROR] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I came across this ...
Ive been struggling with this all day, been close a couple times but nothing seems to work exactly.
I have a text input <input type="text" name="USA_sub" id="USA_sub" /> and after that an input <input type="text" name="FirstName" id="FirstName" /> I need to make sure (create a validation rule) that states "#FirstName" 's value must be ...
Hi!
How can I add new tags to the xhtml document without making the markup 'invalid'?
for eg:
instead of <span class="time"> I'd like to use <time>. Is this possible? because I've seen a facebook app do something like this.
...
In my APS.NET MVC project Im using DataAnnotations for validations.
I moved from L2S to NHibernate orm and in fact found that NHibernate has own validator (NHibernate.Validator)
Is it make sense to move to NHibernate.Validator as well?
for example DataAnnotations has [Required] attribute and NHibernate.Validator [NotEmpty, NotNull, No...
I have to validate my code for IE, I'm trying to use jQuery. The second line works perfectly (although if I add the first line, it breaks [only in IE; works fine in other browsers]). This whole snippet works in other browsers.
$("ul#nav > li:nth-of-type(1n+4)").css("marginTop", "4px");
$("#templates > :nth-child(3n+5)").css("margin", "1...
Hi,
I'm developing application that use nHibernate for ORM, WCF services and silverlight as UI. My question is how to provide validation on server and also on client for domain entities. I thought using nHibernate validation framework but not sure if I can use it as client (silverlight) validation. I don't want to have two codes of valid...
I'm using Google protocol buffers in a messaging application. The protos are often nested several levels deep, and we have taken Google's advice and made them all optional. The protos can describe many different types of overlapping messages - i.e. a message of Type == X should contain the member my_X, Type == Y should contain my_Y. Fu...
lxml easily validates XML files against any DTD or XMLSchema if only you're using etree.XML().
I need to do the same trick with etree.iterparse(), so that whole XML file won't be put into memory. There are two problems here:
1. DTD is ignored by iterparse (be it internal or external)
2. XML is validated against XMLSchema, but errors ...
Hi,
I am using Thickbox 3.1, jquery-1.3.2.min.js and jquery.validate.js.
similar to the validation not working problem, JQuery validations are not working in my case.
I have a form that gets validated before submitting, and on submit I am calling a preview page. This preview page is thickbox pop-up display with options to submit or ed...
Hi,
In a MVC + ActiveRecord scenario, would it be possible/recommendable to validate db dependent properties as part of model binding? How would you go about implementing this - custom validation attribute?
A db dependent attribute could be active records ([Property(Unique=true)].
A simple example of its usage:
public class Person ...
I have a fairly complex Rails app built on top of Twitter's API, and want to make the whole app case-insensitive.
Up until now, we've been converting all usernames and other strings to .downcase whenever possible and using the default case-sensitive searches, but that's starting to cause problems, with 'Username' and 'username' being c...
Is JSLint it as far as js validation tools go, or are there others?
...
I want to re-populate (i.e refill) values posted from a select form field after validation. I know codeigniter user guide proposed using set_select() function but their example from the guide assume you've hard-coded (in HTML) the array of values for the 'select' form element. In my case I used the Form Helper and my select field values ...
where and how to implement the validate(){} method for validating the data on the form, in struts 2, please help me, Thanks in advance.
...
I'm trying to do some validation of complex constraints on Hibernate entities in a JBoss JEE system. For that purpose, I need my validator (whether it be an actual JSR303 validator or just an EntityListener for PrePersist/PreUpdate/PreRemove) to have access to my DAO beans. Much perusal of JSR303 stuff doesn't give me any indication that...
I'm recieving the following error message,
A public action method 'RenderMenu'
was not found on controller
'Web.Controllers.SiteController'.
However this action DOES exist and the controller does exist (As it work everywhere on the site) I looked at the inner exception.
Execution of the child request failed.
Please examin...
I am trying to find a solution to let a TextBox show and validate data from two different sources as this little example shows:
<TextBox Text="{Binding Port.Name}"
ValidationSource="{Binding Ship.PortFK}"/>
Here the Ship data object contains a property that functions as a Foreign Key to a Port, the property has its own validators.
I...