This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Email Output Customization
Started 16 years ago by rocketmedia | 4 posts |
- 
		
		
	
		
		
		I need to modify the why a phone number is displayed in the output email from a form submission. Currently, the display uses spaces in the phone like this: (000) 000 - 0000 I need to know how to modify this output so it displays like this: 000-000-0000 Reason for this request is to comply with mobile devices in allowing for the number to be usable. Please advise as to where and how I can make this change happen. Thank you. Posted 16 years ago #
- 
		
		
	
		
		
		Anyone out there able to help with this? Posted 16 years ago #
- 
		
		
		
		
		Edit your includes/entry-functions.php file. 
 Search around line 356 for this code:if(!empty($phone_value)){ $entry_details[$i]['value'] = "($phone_1) - $phone_2 - $phone_3"; }change it to become: if(!empty($phone_value)){ $entry_details[$i]['value'] = "{$phone_1}-{$phone_2}-{$phone_3}"; }MachForm Founder Posted 16 years ago #
- 
		
		
	
		
		
		Thank you for your help, exactly what I was hoping for. Cheers. Posted 16 years ago #
Reply
You must log in to post.

