use the Server Validations included with CSS Form Builder.
After installing css form builder, go to Insert -> Web Assist -> Server Validation. from the validation types list, select like enter. Click the lightning bolt next to server variable and select the password form element, then click the plus button to add it to the list of validations, this will bring another window asking you what to compare the password to, click the lightning bolt again and select the second password field.