if((i[7].value=='Government bonds'&&i[8]=='')||(i[7].value=='Stocks'&&i[8]=='')||(i[7].value=='Mutual funds'&&i[8]=='')||(i[7].value=='Investment in associate'&&i[8]=='')||(i[7].value=='Investment in joint venture'&&i[8]=='')||(i[7].value=='Investment in subsidiary'&&i[8]=='')||(i[7].value=='Corporate bonds'&&i[8]=='')||(i[7].value=='Others'&&i[8]=='')){
error=true
error=true
}else{
}else{
error=false
if((i[7].value=='Government bonds'&&i[8]=='')||(i[7].value=='Stocks'&&i[8]=='')||(i[7].value=='Mutual funds'&&i[8]=='')||(i[7].value=='Investment in associate'&&i[8]=='')||(i[7].value=='Investment in joint venture'&&i[8]=='')||(i[7].value=='Investment in subsidiary'&&i[8]=='')||(i[7].value=='Corporate bonds'&&i[8]=='')||(i[7].value=='Others'&&i[8]=='')){