• SurajCovelix
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 9
    Replies

Hi,

I am trying to make a field required in my VF page but its not working for some reason.

VF code :

 

<apex:outputLabel value="First Name" for="firstname"/>
<apex:outputPanel styleClass="requiredInput" layout="block" id="pwPanel" >
<apex:outputPanel styleClass="requiredBlock" layout="block"/>
<apex:inputText value="{!FirstName}" id="firstname" required="true"/>
</apex:outputPanel>

 

What's the matter?

We are in the middle of a Data Migration. Our legacy database has columns of rtf format. I need to migrate this field to Salesforce preserving the original formatting and stylling. At the moment, it takes all as plain text. How can this be done?

Hello,

         I am trying to use styles for my command buttons, but its not getting applied. The Code is as follows :

 

--- CSS style ---

<style type="text/css">
.styled-button-3 {
    -webkit-box-shadow: rgba(0, 0, 0, 0.0.97) 0px 1px 0px 0px;
    background-color: #5B74A8;
    border: 1px solid #29447E;
    font-family: 'Lucida Grande', Tahoma, Verdana, Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    height: 20px;
    color: #fff;
    border-radius: 5px;
    background-image=none;
   
}
</style>

 

  --- commandbutton code ---

      <apex:pageBlock>

      <apex:pageBlockSectionItem>
      <apex:commandButton value="Refresh" action="{!showChart}" styleClass="styled-button-3"/>
       </apex:pageBlockSectionItem>

       </apex:pageBlock>

 

How can I make it work?

We are in the middle of a Data Migration. Our legacy database has columns of rtf format. I need to migrate this field to Salesforce preserving the original formatting and stylling. At the moment, it takes all as plain text. How can this be done?

Hello,

         I am trying to use styles for my command buttons, but its not getting applied. The Code is as follows :

 

--- CSS style ---

<style type="text/css">
.styled-button-3 {
    -webkit-box-shadow: rgba(0, 0, 0, 0.0.97) 0px 1px 0px 0px;
    background-color: #5B74A8;
    border: 1px solid #29447E;
    font-family: 'Lucida Grande', Tahoma, Verdana, Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    height: 20px;
    color: #fff;
    border-radius: 5px;
    background-image=none;
   
}
</style>

 

  --- commandbutton code ---

      <apex:pageBlock>

      <apex:pageBlockSectionItem>
      <apex:commandButton value="Refresh" action="{!showChart}" styleClass="styled-button-3"/>
       </apex:pageBlockSectionItem>

       </apex:pageBlock>

 

How can I make it work?