• Angela Tapp
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
I have literally been trying to help this nonprofit since September 2018.
I can not beleive how complicated/expensive this is.
Any insight?  Anybody?


User-added image
User-added image
User-added image
User-added image
User-added image









 
I've been searching all over for help on creating a visualforce page that collects more than one contact and more than one contact type.  
If anyone could help it would be most appreciated.

Requirements:
- One form that captures multiple contacts to populate the Contact Object
- Two Record Types (Contact Record Type and Student Record Type)
- Ability to click a button that says "Add Additional Family Member" in both areas 
- MailingState field is a picklist of all US States

More Details:
  • Instance is using Nonprofit Edition/Households.
  • Each time a new contact is created, it is automatically marked the 'primary contact' and SF is creating a new "Household Account" on the Account object. 
  • The form is collecting 'family' or 'household' data.  Which means at least one adult and one kiddo but it could also mean two adults and 4 kiddos.  The adults have a record type and the kiddos have a record type.
  • For the adults: the form only has 6 fields (first name, last name, email address, mailing city, mailing state and mailing zip).  But the mailing state has to be a picklist of US States.
  • For the students: the form only has 5 fields (first name, last name, current grade, today's date, and school attended)

This is all I have right now:
<apex:page standardController="Contact" Sidebar="False">
<apex:form >
    <apex:pageBlock >
        <apex:pageBlockSection >
          <apex:inputField value="{! Contact.FirstName }"/>
          <apex:inputField value="{! Contact.LastName}"/>        
          <apex:inputField value="{! Contact.Email }"/>  
          <apex:inputField value="{! Contact.MailingCity }"/>  
          <apex:inputField value="{! Contact.MailingPostalCode }"/>  
            
            <apex:commandButton action="{! save }" value="Save" />
            <apex:commandButton value="Cancel" action="{!cancel}" />    
            

            </apex:pageBlockSection>
            
    </apex:pageBlock>  

    </apex:form>
</apex:page>

 
 
 
 
I've been searching all over for help on creating a visualforce page that collects more than one contact and more than one contact type.  
If anyone could help it would be most appreciated.

Requirements:
- One form that captures multiple contacts to populate the Contact Object
- Two Record Types (Contact Record Type and Student Record Type)
- Ability to click a button that says "Add Additional Family Member" in both areas 
- MailingState field is a picklist of all US States

More Details:
  • Instance is using Nonprofit Edition/Households.
  • Each time a new contact is created, it is automatically marked the 'primary contact' and SF is creating a new "Household Account" on the Account object. 
  • The form is collecting 'family' or 'household' data.  Which means at least one adult and one kiddo but it could also mean two adults and 4 kiddos.  The adults have a record type and the kiddos have a record type.
  • For the adults: the form only has 6 fields (first name, last name, email address, mailing city, mailing state and mailing zip).  But the mailing state has to be a picklist of US States.
  • For the students: the form only has 5 fields (first name, last name, current grade, today's date, and school attended)

This is all I have right now:
<apex:page standardController="Contact" Sidebar="False">
<apex:form >
    <apex:pageBlock >
        <apex:pageBlockSection >
          <apex:inputField value="{! Contact.FirstName }"/>
          <apex:inputField value="{! Contact.LastName}"/>        
          <apex:inputField value="{! Contact.Email }"/>  
          <apex:inputField value="{! Contact.MailingCity }"/>  
          <apex:inputField value="{! Contact.MailingPostalCode }"/>  
            
            <apex:commandButton action="{! save }" value="Save" />
            <apex:commandButton value="Cancel" action="{!cancel}" />    
            

            </apex:pageBlockSection>
            
    </apex:pageBlock>  

    </apex:form>
</apex:page>