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
SanvitoSanvito 

Help with Apex form on a Page

I have a page created with a form in Apex that outputs here: http://globalexperiences.com/general/contactus.php

 

I've created a new field in Leads (also in Accounts but that's moot) and am trying to call it to output a text field that someone can enter into. My code is this:

 

            <apex:outputLabel value="Skype Name: " for="inputSkypeName" />
                <apex:inputText id="inputSkypeName" value="{!lead.Skype_Name__c}" />

 

Whenever I try it with any other field I've created, it outputs the input field but for this one it just outputs the label only. I can't find any documentation on this anywhere. Please help!

bob_buzzardbob_buzzard

Have you set field level security to make that field available?  I'm assuming this is through a site, so you'd need to change it via the public access settings.  This aways seems to be the problem when I add fields to my site :)