You need to sign in to do that
Don't have an account?
Aidel Bruck
How to create an alert with input fields
I need a way to have an alert that comes up only if a certain field is true.
I need this alert to have input fields.
I created the following visual force page, but it is not an alert.
I need a way to create such an alert.
<apex:page standardController="Comment__c" rendered="{!if(Comment__c.Care_Management_Related2__c==true,true,false)}">
<apex:form >
<apex:pageBlock title="Enter Care Management Call Details">
<apex:pageBlockSection title="Next Suggested Call" columns="1">
<apex:inputField value="{!Comment__c.Next_Suggested_Call_Date__c}"
label="next suggested call date"/>
<apex:inputText value="{!Comment__c.Next_Suggested_Call_Description__c}"
label="Next Suggested Call Description"/>
</apex:pageBlockSection>
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="Save"/>
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>
I need this alert to have input fields.
I created the following visual force page, but it is not an alert.
I need a way to create such an alert.
<apex:page standardController="Comment__c" rendered="{!if(Comment__c.Care_Management_Related2__c==true,true,false)}">
<apex:form >
<apex:pageBlock title="Enter Care Management Call Details">
<apex:pageBlockSection title="Next Suggested Call" columns="1">
<apex:inputField value="{!Comment__c.Next_Suggested_Call_Date__c}"
label="next suggested call date"/>
<apex:inputText value="{!Comment__c.Next_Suggested_Call_Description__c}"
label="Next Suggested Call Description"/>
</apex:pageBlockSection>
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="Save"/>
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>