heliotrope

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • in reply to: Eddit row #82158
    heliotrope
    Participant

    Thank you for your help and sample code.
    I’m still trying to use an the validate plugin.
    I will try your solution if I cannot make it work.

    in reply to: Eddit row #82155
    heliotrope
    Participant

    tony,

    do you think that I could once the button is clicked sumit the form.
    that way the plugin will be executed and then if errors are found stop jGrid by setting p.processed to true ?
    Will there be side effect using this method

    in reply to: Eddit row #82153
    heliotrope
    Participant

    I guess that I will validate the entries server side.
    there are many issue using the validation plugin.
    If the form contains errors and then you decide to close the modal window, if you reopen it the errors are still there.

    Unfortunately I’m a newbie in JS stuff and cannot help you more with this.

    On a side note, you should post your plugin on the official jsuery site. This is the most powerful i’ve found.

    Congrats.

    in reply to: Eddit row #82151
    heliotrope
    Participant

    Thanks for your help.

    I’vet set the onsubmit param to false but still no luck. I receive an error code 0 and the form is submitted.
    To make the validation message to appear I had to change the button type to submit in the formGrid.

    I will keep you posted If I can figure out what’s wrong.

    in reply to: Eddit row #82148
    heliotrope
    Participant

    Hi,

    I’ve followed you advice using validate plugin
    (http://jquery.bassistance.de/validate/demo/)

    The checking works but the form is submitted though there are errors in the form filling.
    It seems that the validate plugin doesn’t catch the submit event

    Any Idea?

    Thanks

    🙂

    in reply to: hide columns in the grid but not in the edit form #82145
    heliotrope
    Participant

    Hi,

    I’ve tried your method but this is not totally satisfying as it will work only for the first item.
    If you click on the next or pev button, the hidden fileds in colMethod dissapears.
    I had to tweak a bit some of your code (editGridRow and fillData) to make it work and added a new param in the grid => editableColums{colName1,…}

    🙂

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

Stay connected with us in your favorite flavor!