In CC6 I am able to edit and save a record that was submitted through CF6. Once saved I get the message "submission saved successfully.". How can I add the id of the record that I just saved inside of that message so it reads for example "submission 271 saved successfully". To even go a step further is there a way to link to that submission via the id in the message?
Hi cruser,
I'm no expert on CCV6 but I would expect the new record id to be added to the available data after the Save action. if you add a Debugger action temporarily you should be able to see what that is called.
Bob
{var:save_data_action_name.id}
healhatman - where would I put that code? Currently I have a Function setup that checks the save result. One or two appear:
true:{success:Work order saved successfully. }
false:{error:saving the submission failed.}
So should the code look like :
true:{success:Work order {var:save_data_action_name.id} saved successfully. }
false:{error:saving the submission failed.}
Make a message element instead, with the text and code you want in it, call it in your switch with {fn:my_message}
You have it there in your form data, {data: submission_id}
No can't use nested shortcodes like that.
Trying true:{success:Blah blah blah (data:submission_id)} or make the messages a function instead (it's in there) and use {fn:success_message} and put the {data:} tag inside the message element.
Would that function {fn:success_message} be a switch?
healyhatman thank you for your patience and help. I can now see the id when saved.