How validate two password fields by ajax?

后端 未结 3 1047
执笔经年
执笔经年 2020-11-27 04:57

I\'m trying to validate two password fields with JSF but no good until now, I search for it on google but everything was about JSF 1.2 and pretty confusing, I\'m using JSF

3条回答
  •  被撕碎了的回忆
    2020-11-27 05:39

    You can use Primefaces p:password tag. Please see demo example. It has match attribute which should be the id of confirm password.

      
          
    
                             
                      
                      
    
                      
                      
          
    
          
    
    

提交回复
热议问题