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
SFDC_DeveloperSFDC_Developer 

Getting error while returning selected records from custom lookup

"The name can only contain underscores and alphanumeric characters. It must begin with a letter and be unique, and must not include spaces, end with an underscore, or contain two consecutive underscores. "

Basically what I'm trying to do is I am returning my selected records from custom lookup page to my base page. On click of save button it will close the opened lookup page and return the selected value to my base page.

I don't know what is the reason of this error.
 
<apex:commandButton value="Save" action="{!save},javascript:top.window.opener.closeLookup('conId','mess',thisPage:myForm:j_id28:myPgBlock:Con:targetName,thisPage:myForm:j_id28:myPgBlock:Con:targetId)" ></apex:commandbutton>

 
viruSviruS
is there any error at javascripts side. Use try Catch to find out