DMXzone Server Connect Support Product Page
Server side validation when two field conditon match at a time
Asked 12 May 2018 02:42:35
1
has this question
12 May 2018 02:42:35 Rokon UL Haque posted:
HelloCould you please help how I can validate two field condition at a time which should be server side validation. The situation is like as below;
A tagword table with following fields
==============================
tagID
tagword
userID
The condition need to implement that when inserting data should check both userID and tagword field and if both field matched then data should not insert otherwise insert; example
userid = 1
tagword = nice
if the userid 1 try to insert the tagword nice while he already inserted same tagword nice before, then the insert should block as the userid 1 and the tagword nice is exist in the table, but if the user 2 sign in and try to insert the same tagword nice then it should allow to insert as here userid is different.