you’re right, that should be a feature. Please give me a couple of days for that π
Thank you very, very much!
Will be available in v1.40
Ok, and this release when it will be?
Do you have an estimation of when it will be?
September, perfect!
Which year? Because this September, the one of 2013 is almost over..:-)
Cheers
JF
I’d prefer 2013 π it will be released within next two days π
Deal!
Now that you are there, answering, I realize that the form doesn’t validate data being enter then if a field is empty it pass giving an error.
Maybe could be Ok, to validate which fields shouldn’t be empty to work properly.
What about that?
JF
Hi,
the credit card fields are live validated via javascript – the other fields need to be validated by you. You can use the same library as used for credit cards. documentation: http://livevalidation.com/
code example:
jQuery(document).ready(function () {
if(typeof paymill_shop_name != ‘undefined’){
jQuery(“body”).on(“click”, “#payment”, function() {
var f1 = new LiveValidation(‘card-number’);
var maximum = 16;
f1.add( Validate.Numericality, { notANumberMessage:paymill_livevl.notANumber, notAnIntegerMessage:paymill_livevl.notAnInteger, wrongNumberMessage:paymill_livevl.wrongNumber, tooLowMessage:paymill_livevl.tooLow, Message:paymill_livevl.tooHigh } );
f1.add( Validate.Length, { maximum: maximum, wrongLengthMessage:paymill_livevl.wrongLength.replace(‘{maximum}’,maximum), tooShortMessage:paymill_livevl.tooShort, tooLongMessage:paymill_livevl.tooLong.replace(‘{maximum}’,maximum) } );
});
}
});