Avatar

Level 2

Hİ everyone,

I m newbie in javascript coding . As you see I think my questions is simple. I have a form which has two different subform and one of them is flowed subform.and gets all data from a xml such as;

<Country.>Turkey</Country.>

<Country.>USA </Country.>

<Country.>UK </Country.>

<Country.>Germany </Country.>

...........

I tried to execute form layout, if there is no country name from the xml  it work for first repeatable textfield but it didn t work for the second repetable textfield and I realized that my coding was wrong because I equalized for just Country.rawValue not for Country[1].rawValue or Country[2].rawValue how I solve the Problem??

thanks everyone

if (!form1.Page1.ContactData.ContactAddresses.Address.Data.Country.rawValue)

{form1.Page1.ContactData.ContactAddresses.Address.Data.Country.presence

=form1.Page1.ContactData.ContactAddresses.Address.Data.ulke.presence="hidden";

}