View field for comparison

QuestionsView field for comparison
Ananda Theerthan asked 11 years ago

Hi,
I have col1 and col2 from table1.
I have col3 from view v1.

only Col2 is editable.

I want to compare col2 > col3 and throw error message.
How to acheive this?

1 Answers
Abu Ghufran answered 11 years ago

Only editable columns are posted back to server.

As your col3 is non-editable, you can create another column of col3 data which can be editable & hidden.

After that, you can check it using events. Refer demos/editing/server-validation.php

Your Answer

8 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?