function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hylim1215hylim1215 

How to prompt multi line text for user input?

I have this custom button which execute a java script to prompt user for input
 
var quo = new sforce.SObject("Quote");
quo.Id = '{!Quote.Id}';
var appr_req = 	'{!Quote.List_Price_Change__c}';

if( appr_req == true ){
quo.User_Approval_Comments__c = prompt('Enter your comment','');
quo.User_Submit__c = true;
}
but this prompt just 1 line of input (i believe this is due to browser). Is there a way to prompt a multi line input for user? Or can I prompt iframe with text area inside for input? Once it saved in the iframe it will refresh the master quote record.

Thanks