+ Start a Discussion
june_h_clarke@yahoo.comjune_h_clarke@yahoo.com 

Visual Force GURU assistance urgently needed

Hello..

Someone created a Visual Force page at my org a few years back.. Now we are having an issue and I have no experience with coding of any sort. I am hoping I can send screen shots to someone to help me figure this out..

If anyone out there can help me please let me know..

Thanks!
ManojjenaManojjena
hi June,

If possible post your code here ,will try to resolve your issue .
Mudasir WaniMudasir Wani
Hello,

You can paste your code here then we can help you.

 
Ramakrishnan AyyanarRamakrishnan Ayyanar
Hi,

Please paste your code here then only we can help you.
 
june_h_clarke@yahoo.comjune_h_clarke@yahoo.com
Here is the code.. For some reason the amounts in 2 and 2a are not matching up and they are supposed to..

<apex:page standardController="Wrap_Up__c" extensions="extWrapUp">
    <apex:form >
        <apex:pageBlock >
            <apex:pageBlockButtons >
                <apex:commandButton value="Submit" action="{!SaveWrapUp}" />
                <apex:commandButton value="Cancel" action="{!Cancel}"/>
            </apex:pageBlockButtons>
           
            <apex:pageBlockSection title="Admin Staff Info:">
                <apex:pageBlockSectionItem >
                    Admin Staff:
                    <apex:outputPanel >
                        <div class="requiredInput"><div class="requiredBlock">
                        <apex:selectList size="1" value="{!strStaff}" required="true">
                      
                            <apex:selectOptions value="{!Employee}">
                           
                            </apex:selectOptions>
                        </apex:selectList>
                        </div></div>
                    </apex:outputPanel>
                </apex:pageBlockSectionItem>
           
            </apex:pageBlockSection>
           
            <apex:pageBlockSection title="Membership">
                <apex:PageBlockSectionItem >
                    1. Total Membership forms received:
                    <apex:inputField value="{!Wrap_Up__c.Total_membershp_forms_received__c}" required="true"/>
                </apex:PageBlockSectionItem>
               
                <apex:pageBlockSectionItem ></apex:pageBlockSectionItem>
               
                <apex:PageBlockSectionItem >
                2. Total amount of $ collected:
                    <apex:inputField value="{!Wrap_Up__c.Total_Amont_of_collected__c}" required="true"/>
                </apex:PageBlockSectionItem>
                <apex:PageBlockSectionItem >
                2a. SF Amount Dues Collected
                    <apex:outputText ></apex:outputText>
                </apex:PageBlockSectionItem>
                <apex:pageBlockSectionItem >
                    3. Missing any forms?
                    <apex:inputField value="{!Wrap_Up__c.Missing_any_forms__c}" required="true"/>
                </apex:pageBlockSectionItem>
 
Thanks All!
Mudasir WaniMudasir Wani
What this page is supposed to do and what kind of problem are you facing 
june_h_clarke@yahoo.comjune_h_clarke@yahoo.com
Our front desk staff accepts different cash payments for memberships etc.. This app is supposed to calculate all of those payments in one place.. Unfortunately it’s not calculating properly in that Fields 2 and 2a are supposed to equal the same and it is not.
Mudasir WaniMudasir Wani
Hey June,

You need to modify the code for 2a as follows
<apex:PageBlockSectionItem >
                2a. SF Amount Dues Collected
                    <apex:outputText value="{!Wrap_Up__c.Total_Amont_of_collected__c}"></apex:outputText>
                </apex:PageBlockSectionItem>


Don't forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help

 
june_h_clarke@yahoo.comjune_h_clarke@yahoo.com
Hi.. Can you explain what this does? Does it make field 2 and 2A the same? We are entering data for money collection in other objects and sometimes need to exclude that from this amount as well. Please let me know what additional information is required. Thanks!
Mudasir WaniMudasir Wani
Hi June,

It make field 2 and 2A the same.
For Excluding any amount you may require the custom logic based on your business.
Let me know If you have any question.

Thanks,
Email :- mudasir.salesforce@gmail.com