Re: Overlay show and hide method
Hi, I'm not sure what this has to do with the Form module, but I'll see if I can help you anyway. The simplest thing I can think of here is to override the style for the Overlay in your own CSS, so...
View ArticleRe: Overlay show and hide method
Hi Greg,This is what I am doing.. I overrided the css.yui3-overlay-hidden{ display:none} But I just want to understand why yui3 has kept visibility:hidden instead of display:none especially overlay...
View ArticleRe: Overlay show and hide method
That I cannot answer. This particular forum is for the Gallery Form module which I wrote, but for core library stuff you should post your question in the main Using YUI3 forum...
View ArticleRe: Form gallery example conflict.
Hello!The YUI version that I am using is version: 3.2.0. It's the version that came with Liferay 6.0. Anyway, I used that code that I said that worked. Still, I am not sure why putting in the...
View ArticleDate validation- example3
Hello all, I am using date validation and need some help.1. I have run the example at http://ghinch.github.com/examples/form/example3.html on two diff m/cs and notice all dates within 10th of a month...
View ArticleRe: Suggestions: my wishlist
Hey Greg!I'm thinking about making a few modifications to gallery-form. At first I'll just send you a pull request with a couple of things missing from the docs (I'll try to rebuild the docs with the...
View Articlevalidate on a button click event rather than onSubmit
Hi,I'm not a YUI or javascript expert, but I would really like to use Form to help me validate form fields.I have a simple mortgage calculator with three input fields (loan_amount, interest_rate,...
View ArticleRe: validate on a button click event rather than onSubmit
Hello nickweavers.It may help the validator attribute.Did you give a look at form examples:http://www.greghinch.com/examples/form/Hope that helps,IceBox
View ArticleRe: validate on a button click event rather than onSubmit
Hi Alberto,Yes I looked at the examples but didn't see anything there on how to either use another event.Nick
View ArticleRe: validate on a button click event rather than onSubmit
Hello Nick.Maybe I misunderstood the use case.In the examples the validation is done before the submit using validator.Is it not your case?Regards,Alberto
View ArticleRe: validate on a button click event rather than onSubmit
It may make sense to use inline validation:http://www.greghinch.com/yui3-gallery/docs/Form.html#config_inlineValidationSetting this to true in your form will validate that individual field as soon as...
View ArticleRe: validate on a button click event rather than onSubmit
Hi Alberto,I think it was me who misunderstood the order of things. Thanks for making it clearer.Nick
View ArticleRe: validate on a button click event rather than onSubmit
Hi Greg,Right, inline validation would work nicely I think.The bit that confuses me in the code that is generated is that in my markup I have a button like this <button...
View ArticleRe: validate on a button click event rather than onSubmit
Hello Nick.I think you should set to false the attribute (not documented) submitViaIO and define (override) the submit function with the content of the calculateMortgageRepayment function.See the...
View ArticleRe: validate on a button click event rather than onSubmit
Thanks for all your help Alberto.I have tried to replicate the essential parts of what you had in the jsfiddle example, but even with "submitViaIO: false" in the form config and the...
View ArticleRe: validate on a button click event rather than onSubmit
Hello Nick.In that page there is an error in yui_calculate_mortgage_repayment.js (line27): Uncaught ReferenceError: myForm is not defined.I think you should use repayment_calculator.And in submit...
View ArticleRe: validate on a button click event rather than onSubmit
Hi Alberto,Sorry to have missed those. I didn't intend for you to have to debug my dumb errors.The form render is now working, but the calculate (submit) button does not seem to trigger the...
View ArticleRe: validate on a button click event rather than onSubmit
Hi Alberto,Substituting your entire example for my code works in my page, so the problems is mine. Thanks,Nick
View ArticleRe: Which validators built in?
Where can I find a list of builtIn validators that already exist?If isNumber isn't already provided it would be nice to have, especially if it could deal with locale differences (France use the comma...
View ArticleRequired fields
How do I flag a field as "required" (meaning that a value must be given) ?TIA,Nick
View Article