+ Start a Discussion
Himanshu Patel 55Himanshu Patel 55 

how make inputfield value as null

I have visualforce page on Community portal to create child case for followup. When they create child case, visualforce page shows Description of Parent Case automatically. We want to make description field as blank by default. Below is piece of code. I am not sure if below code is relevant, please let me know if not. 

<div class="form-group">
                                <label for="description" class="control-label">
                                   {!$Label.Portal_Case_Summary_Questions} *
                                </label>
                                <apex:inputField value="{!thisCase.Description}" label="" styleClass="form-control" id="description" />
                            </div>
                        </div>
 
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Himanshu, hope it helps.

Thanks
Rahul Kumar
Himanshu Patel 55Himanshu Patel 55
Thanks Rahul, I could not able to find answer there. 

<apex:inputField value="{!thisCase.Description}" label="" styleClass="form-control" id="description" /> 

Please let me know if you know in above code how to repalce thisCase.Description to blank. We dont want parent case description to be copied. 

Appreciate your reply.