Adding a label in the Widget for a portal

Preethy1
Tera Expert

Hi Team,

The requirement for our story is that we need to add a field label in the Widget for a service portal.

How can we achieve that ? It  will be helpful if someone provide docs or the HTML code for that to get achieved.

We have already added that field to the form layout of a view in the service now .How can we add that label in the Widget ?? 

 

 

 

1 ACCEPTED SOLUTION

Bhaba
Tera Expert

Hi Anupal,

 

Check out the below HTML tags for label as reference. Replace the names as required.

<div class="demo">
    <label for="test">Incident</label>
    <input type="text" name="incident" id="test">
</div>

<div class="demo">
    <label for="prblem">Problem</label>
    <input type="test" name="problem" id="test">
</div>

 

Hope this works fine for you. Please, let me know if you've any query.

Thanks.

View solution in original post

1 REPLY 1

Bhaba
Tera Expert

Hi Anupal,

 

Check out the below HTML tags for label as reference. Replace the names as required.

<div class="demo">
    <label for="test">Incident</label>
    <input type="text" name="incident" id="test">
</div>

<div class="demo">
    <label for="prblem">Problem</label>
    <input type="test" name="problem" id="test">
</div>

 

Hope this works fine for you. Please, let me know if you've any query.

Thanks.