Zoho automatically generates single fields in on edit form action

Zoho automatically generates single fields in on edit form action

Dear all,

I have the following problem. As you can see in attached image 1 I have a form with some fields (I do not hide any field). Hotel Name and Year are two dropdown fields which fetch data from an another application. The problem is that when I click edit in the report it generates the attached image 2. As you can see there Zoho automatically generates two single fields below of Hotel Name and Year. Why this happens? Is there any way to hide these two fields because I do not need them?

I wrote the following code  in on add -> on Load and On Edit -> On Load 

  1. fetchHotelNames = applicationname.Contracts_Remote.getHotelNames();
    for each name in fetchHotelNames
    {
        Hotel_Name:ui.add(name);
    }
    fetchYears = applicationname.Contracts_Remote.getYears();
    for each year in fetchYears
    {
        Year:ui.add(year);
    }








but I do not know if the problem is there.