Okay great! Nice work. I reopened the ticket though because of a couple of things I need to point out:
1
----------
Not sure what the id == 98 or 216 is about... but it works
I recommend you change this now. It looks like the original author was trying to limit the code to execute on only two Forms: ID 98 and ID 216. But the code doesn't actually work as intended. There is a syntax/logic issue that will result in the code firing on ALL Forms submissions...let me explain. All cred_save_data hooks are fired any time any Form is submitted, so a conditional like this can help determine whether or not the code is applied to the correct Form(s). So if you add 3 more Forms later, this code will be triggered for all 4 Forms. That can cause unexpected problems, so a conditional like this will help limit the scope of this custom code. I suggest you change this line to check for the proper Form ID, or it could cause problems later for other Forms and it's better to do this now than to try to remember in the future.
So please go to Toolset > Post Forms and find the numeric ID of the Form you are modifying (it's next to the Form title). Then modify that line of code to apply the proper Form ID. If the Form ID is 1234, for example, the line should be:
if ( $form_data['id']==1234 )
If you plan to apply this code to more than one Form (for example, if you create an edit post form later), then instead of the errant code in the other ticket you should set up a list of Form IDs (in PHP this is called an array) in the first line, then test the submitted Form ID against the contents of that array using the PHP function in_array:
$forms = array( 1234, 5678 ); // replace with a comma-separated list of Form IDs where you want to apply this code
if( in_array( $form_data['id'], $forms ) ) // checks to see if the submitted Form's ID is in the array
Replace 1234, 5678 with a comma-separated list of all the Form IDs where you want to apply this custom code.
2
------------
my_save_content
This function name is perfectly fine from a functionality perspective, but you might notice that the same sample function name is used in many other code examples on the site. If you happen to copy + paste the same function name again in another custom code example, it will cause a PHP fatal error and crash your site. So it's best to go ahead and choose a unique function name every time you create a custom code snippet. For example in this case you could call it set_post_content_with_generic_multiline and update your code in both places here:
add_action('cred_save_data', 'set_post_content_with_generic_multiline',10,2);
function set_post_content_with_generic_multiline($post_id, $form_data)
Again, the snippet will work now with the function name you already have in place...but it's a good idea to change it sooner rather than later.