According to the example in your question, you are attempting to place the shortcode in the Formidable Form’s CUSTOMIZE HTML area, which is not the correct location.
Instead, place your shortcode in the Formidable Form’s SETTINGS >> GENERAL (tab) >> ON SUBMIT MESSAGE (text box) and please let us know if you require further assistance.