Hello,
I have a Multiple lines of text field:
fd.field("PersonFullAddress").value
i am filling this multiple line control from different controls in order to merge and get full info:
fd.field('PersonVillageID').value.VillageName
fd.field('PersonCazaID').value.CazaName
fd.field('PersonProvinceID').value.ProvinceName
fd.field('PersonPOBox').value
etc....
function FncSetFullAddress() {
fd.field("PersonFullAddress").value = fd.field('PersonVillageID').value.VillageName + ", " +
fd.field('PersonCazaID').value.CazaName + ", " +
fd.field('PersonProvinceID').value.ProvinceName + ", " +
fd.field('PersonPOBox').value;
};
Result:
Halat, Jbeil, Mount Lebanon, etc.....
My need is to insert break (New line ) instead of space (+", "+ ) after each control value
how to insert break (New line) after each value?
The result will be like this:
Halat
Jbeil
Mount Lebanon
etc.....
Thank you