I am trying to add a contact selector to the task quickcreate form within the opportunites module. Obviously this can be done because the field is there by default if you display the full form. I've tried to borrow the code from the task editview.html file, but I've been unsuccessful. Here is the code from editview (unmodified):
When I add this to the quickcreate table, the form won't load. Any ideas?Code:<td class="dataField"><span sugar='slot6b'><input type='text' name='contact_name' id='contact_name' readonly="readonly" value='{CONTACT_NAME}'><input type="hidden" name='contact_id' id='contact_id' value='{CONTACT_ID}'> <input type="button" class="button" name='button' tabindex="2" title="{APP.LBL_SELECT_BUTTON_TITLE}" accessKey="{APP.LBL_SELECT_BUTTON_KEY}" value='{APP.LBL_SELECT_BUTTON_LABEL}' onclick='open_popup("Contacts", 600, 400, "", true, false, {encoded_contact_popup_request_data});' {DISABLED_CONTACT}></span sugar='slot'></td>


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks