Posted 4/24/2007 11:11:46 AM | | | | Am I able to create a hidden field in my html page and still grab it from CRM? Right now, I want to create a hidden field for the lead source. Here is my syntax right now: <input type="hidden" name="Web" value="Web" /> I'm trying to grab this field, but I'm getting an error saying that the object reference is not set to an instance of an object. I'm assuming this is because of a hidden field, but I need this lead source and do not want the users to see it though. Is this possible? Also I'm using the leadsourcecodename as the fieldmapping. Is this correct? Because when I look at the lead details, I want that drop down menu to automatically be web. Thanks for the help in advance!!! |
| Posted 4/24/2007 1:41:50 PM | | | | You dont need to have a hidden field in the form if you want to map a default value to a Lead Field. You can specify a default value for a CRM field in the field mappings section for Web Connect. In 'Field Mappings' tab, map the 'leadsourcecode' picklist field with a default value.
Note - For picklist fields, the value is the actual ID value of the attribute. So you would find the picklist id of the 'web' picklist value and use that as the default value.
Arvind Raman Director of Product Management c360 Solutions Inc |
| Posted 4/24/2007 1:46:50 PM | | | | Thank you so much!! Just another quick question.... Under details in the lead, what field mapping is the Topic? |
| Posted 4/24/2007 1:50:34 PM | | | manared (4/24/2007) Thank you so much!! Just another quick question.... Under details in the lead, what field mapping is the Topic?schema name is 'subject' ps - You can get the 'schema' name for all the fields by looking at Lead entity attributes under Customization in CRM.
Arvind Raman Director of Product Management c360 Solutions Inc |
| |
|