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
MadzMadz 

Leading Zeros in fields ID and NAME

Hi I need to pass values from one page to another through php (formmail.php) and it is passing all fields except the ones starting with '00' example $00N20000003JXkJ

 

Is there a workaround?

 

Canwe custom change the names and IDs?

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
Shivanath DevnarayananShivanath Devnarayanan

The ID is AutoMatically Generated by salesforce and cannot be modified.

 

You'd probably have to figure out a way to append some values infront of the ID , Pass it to the next page and then remove those characters and reuse the ID

 

It might sound a little crude, but i may be able to help you out if we have a better picture of what you're aiming at.

 

 

 

All Answers

Shivanath DevnarayananShivanath Devnarayanan

The ID is AutoMatically Generated by salesforce and cannot be modified.

 

You'd probably have to figure out a way to append some values infront of the ID , Pass it to the next page and then remove those characters and reuse the ID

 

It might sound a little crude, but i may be able to help you out if we have a better picture of what you're aiming at.

 

 

 

This was selected as the best answer
MadzMadz

thanks for your reply...

 

I just created a new array for the email data..

 

I was hoping i could pass all in one array but its working.

 

thanks

Shivanath DevnarayananShivanath Devnarayanan

thats good..

 

happy to help ..

 

lemme know if we could figure out a better way to approach this..