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
tola2278tola2278 

Getting values from user

I wrote this Visual force page to get values from user but its not working if any one can help in this regards

 

<apex:page controller="MyController">

<apex:form >

<apex:PageBlock >
<apex:pageBlockButtons >
<apex:commandButton action="{!del}" value="Delete"/>

</apex:pageBlockButtons>
<apex:PageBlockSection >
<b>From</b>
<apex:inputText value="{!startdate}"/><br/>
<b>To</b>
<apex:inputText value="{!enddate}"/><br/>

</apex:PageBlockSection>
</apex:PageBlock>
</apex:form>
</apex:page>

 

 

ForcepowerForcepower
Can you please post your controller code? Is it not populating the dates into those variables?
Ram