gcousin

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • in reply to: Integration DatePicker in modal form #83273
    gcousin
    Participant

    tony said:

    Hello,

    Search this forum with word datepicker and you will find the answer

    Tony


    in reply to: Type of fields, and I can not see the cursor #83196
    gcousin
    Participant

    it is curious that only in Mozilla Firefox (version 2.0.0.16) this happens. (IE7 and Opera does not occur)

    in reply to: Type of fields, and I can not see the cursor #83195
    gcousin
    Participant

    the problem is not with the focus.

    is the cursor after position in a field, you can not see.

    when located in a field should be “titilar” (blink) the cursor within the field

    and in the position in which one started to enter data, this does not

    happen in the forms of editing module.

    in reply to: jquery validate integrate with jqgrid #83152
    gcousin
    Participant

    hello again, as I am somewhat impatient, I take the audacity of goals to hand the file 'grid.formedit-min.js' and you add the following to validate the emails:

    if(edtrul.email){var filtro = /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i;if(!filtro.test(val)) return [false,$t.p.colNames[valref]+”: No es valido”];}

    Part of the 'filter' pull the plug on the validation, I believe that adding more features would not be any problem, I say this because if it was so easy to add a kind of validation not had clear that we can improve what I have Target using properties msg of the library, but for now I solved my problem.

    Thanks for the plug so genial that have developed.

    in reply to: jquery validate integrate with jqgrid #83125
    gcousin
    Participant

    ok,

    in reply to: jquery validate integrate with jqgrid #83117
    gcousin
    Participant

    thank you for your prompt response,

    Yes. I'm trying to use the module editing grid and add too.

    try to be more specific in what I am trying to say:

    I need to validate things like email's and URL's, but I find in the documentation of jqgrid, which are only available option validation ( “editrules”): edithidden, required, number, minValue, maxValue.

    I suppose that would have two options:

    1. Add the options I need, directly to the grid (as an addendum to make it more robust).
    2. Integrate it with the plug jquery.validate validation, which is what I need to validate.

    is not which of the two options is more feasible.

    and to put an end to complete'm new in this framework (jquery) and even do not know many things (such as extending or integrating's plugin), therefore I am guided by the following documents:

    http://www.secondpersonplural.ca/jqgriddocs/index.htm
    http://trirand.com/jqgrid/jqgrid.html

Viewing 6 replies - 1 through 6 (of 6 total)

Stay connected with us in your favorite flavor!