first they should both agree in front of witness,a shariah judge will register there consent,condition,request,then do public cermoney to announce the marriage,simple.