• sandeep kumar 1996
  • 0 Points
  • Member since 2016

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
  • 1
vf page:
<apex:page standardController="account" extensions="accsearchcontroller" sidebar="false">
  <apex:form id="formID"> 
  <apex:actionFunction name="searchtext" action="{!search}"/>
 <apex:pageBlock >
<apex:pageBlocksection title="Accounts" columns="1">
<apex:inputText value="{!searchstring}" label="Account number" id="sh" html-placeholder="Please enter account number"  />
<p class="search">please enter account number</p>
 <apex:commandButton value="Search"  action="{!search}"/>
 <apex:commandButton value="Clear" id="clear" action="{!clear}"/> <!--  action="{!clear}" -->
<apex:pageBlock id="resultPanel">
<apex:pageblockTable value="{!acc}" var="a" id="TT"> 
     <apex:column >
 <apex:facet name="header"> Employee Name   </apex:facet>
     <apex:outputLink value="/{!a.id}" id="hh" target="_Blank"> {!a.name} </apex:outputLink>
     <apex:column >
       <apex:facet name="header"> Employee Number</apex:facet>


public with sharing class accsearchcontroller {  
   public list <account> acc {get;set;}  
   public string searchstring {get;set;}  
   public accsearchcontroller(ApexPages.StandardController controller) {  
   public void search(){  
     string searchquery='select AccountNumber,name,id,Type from account where AccountNumber like \'%'+searchstring+'%\'';
     acc= Database.query(searchquery);  
   public void clear()
Hi , everyone I'm new to salesforce I have requirement to send emails to the contacts on every Friday using workflows can anyone tell me how to write a formula for it
I have a site named as client portal.Where client need to click on star (pictoriall ) in vf page . As onclick and submit the same rating  value should store in a picklist field having values (1-5).I tried with jquery but within <apex repeat > attribute its showing the same rating value for different records.