You need to sign in to do that
Don't have an account?
Default value on a hidden input
I'm creating a Visualforce page because we are going to be creating "Account Name" based on a custom field "Proper Account Name" and "Account Site", using workflow field update rules. If I don't create the page, then Account Name is required but then gets overridden upon saving the account. The purpose of the visualforce page is to replace the "New" account button and display all fields EXCEPT Account Name. Account Name will be hidden and default to any value. I just can't figure out for the life of me how to set the Account Name value. Any help appreciated. Rather new to this and wanted to wait a few months before starting to use this but this requirement is too important to ignore for now.... Any other suggestions on how to skin this cat are also appreciated...
standardController="Account">
>
title="Edit Account">
/>
>
value="Save" action="{!save}"/>
value="Cancel" action="{!cancel}"/>
>
>
value="{!account.name}" />
value="{!account.Site}" />
value="{!account.Proper_Account_Name__c}" />
>
>
>
>
</apex:page>