How to set the format on HTML field

shaik_irfan
Tera Guru

Hi,

 

On the Demand form i have a field called Business Case which is field of type HTML for that i need to autopopulate few values which i already added in the Default Value and it is working fine.

 

find_real_file.png

 

 

Now in some cases Demands get created from IDEA whenever idea is Accepted Demand auto created in the IDEA form we have a field called Description which is mapped to Business Case field.  So when the Demand is created from IDEA now Business Case Default Values is overridden with the content from the Description field. 

 

Now i want to have the Default values as usuall and add the Description value coming from IDEA should also need to populated

 

Ex:

IDEA -> Description -> This is test Description

 

On Demand i need to set as:

 

This is test Description

Specificatoin:


Justificaiton:

 

 Can anyone please help me how to acheive this

1 ACCEPTED SOLUTION

You can update in BR written on Idea tabel where Demand is created. You have to add below code:

Yuu can change the values as per your requirement.

demand.setValue('business_case',"<p>Specificatoin:</p><p>&nbsp;</p><p>Justificaiton: </p>");

View solution in original post

3 REPLIES 3

Upender Kumar
Mega Sage

Hi,

You can copy the HTML source code and use in BR or any script where you are creating the demand.

find_real_file.png

Upender,

 

Can we create a BR on Demand itself because we dont want to update the OOB script.

 

can you please suggest with sample script on Demand table itself

You can update in BR written on Idea tabel where Demand is created. You have to add below code:

Yuu can change the values as per your requirement.

demand.setValue('business_case',"<p>Specificatoin:</p><p>&nbsp;</p><p>Justificaiton: </p>");