Title: No shortcode ID
Last modified: August 30, 2016

---

# No shortcode ID

 *  Resolved [jhasenklein](https://wordpress.org/support/users/jhasenklein/)
 * (@jhasenklein)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/)
 * Hi,
 * I’m using Contact Form 7 to create a simple contact form on my site (milkenknights.
   com). We are running FlatOn Pro theme on WordPress 4.3.1.
 * After I created the form, I went to embed it and found that the shortcode is 
   incomplete. It says:
 * > [contact-form-7 id=
 * I tried to create a second form and the same thing happened. I tried leaving 
   it blank, putting in 1, and putting in 1234 but I am obviously still getting 
   the error:
 * > [contact-form-7 404 “Not Found”]
 * Thanks!
    Jared
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [davmerit](https://wordpress.org/support/users/davmerit/)
 * (@davmerit)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/#post-6658634)
 * Did you give your form a title and saved it before copying the shortcode?
 * Something must have gone wrong somewhere
 * You may see [getting started with CF7​​](http://contactform7.com/getting-started-with-contact-form-7/)
 *  Thread Starter [jhasenklein](https://wordpress.org/support/users/jhasenklein/)
 * (@jhasenklein)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/#post-6658645)
 * Thanks for your response. I named it “Contact Us” and did save it. I created 
   a second one just to test it and no shortcode there either.
 * I followed all of the steps from the link and no luck.
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/#post-6658685)
 * Try switching to the default theme (twentyfifteen).
 *  [davmerit](https://wordpress.org/support/users/davmerit/)
 * (@davmerit)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/#post-6658687)
 * Where did you paste the code?
 *  Thread Starter [jhasenklein](https://wordpress.org/support/users/jhasenklein/)
 * (@jhasenklein)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/#post-6658702)
 * Hi Takayuki Miyoshi,
 * It appears that regardless of what contact form I use (I also tried Best Web 
   Soft and Contact Form Builder) I run into some problem. Those other ones I can’t
   submit the form.
 * I switched the twenty fifteen theme and still ran into the same problem with 
   Contact Form 7 not generating a shortcode and the other plugins not submitting.
 * I can’t seem to figure it out because it doesn’t seem like a problem with the
   plugins or the theme.
 * Thoughts anyone?
 *  Thread Starter [jhasenklein](https://wordpress.org/support/users/jhasenklein/)
 * (@jhasenklein)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/#post-6658703)
 * Hi Davmerit,
 * I pasted the code into the page builder at [milkenknights.com/contact](http://milkenknights.com/contact).
   There’s a different plugin there now though.
 *  [davmerit](https://wordpress.org/support/users/davmerit/)
 * (@davmerit)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/#post-6658717)
 * > I pasted the code into the page builder at [milkenknights.com/contact](http://milkenknights.com/contact).
 * ​​The error could be from the page builder. But I can see your form is now showing
   at the link provided
 *  Thread Starter [jhasenklein](https://wordpress.org/support/users/jhasenklein/)
 * (@jhasenklein)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/#post-6658718)
 * Hi,
 * Whats up there now is a a Google Form. I created a custom script on the spreadsheet
   that sends a confirmation email to me and then sender. Still not sure why none
   of the plugins are working…but thanks…
 * FYI–here is the Google Script for the notifications:
 * > /* Send Confirmation Email with Google Forms */
   > //TRIGGERS WHEN THERE IS A NEW FORM RESPONSE
   > function Initialize() {
   >  var triggers = ScriptApp.getProjectTriggers();
   >  for (var i in triggers) {
   >  ScriptApp.deleteTrigger(triggers[i]); }
   >  ScriptApp.newTrigger(“SendConfirmationMail”)
   >  .forSpreadsheet(SpreadsheetApp.
   > getActiveSpreadsheet()) .onFormSubmit() .create();
   > }
   > //BEGINS COMPOSING THE EMAIL
   > function SendConfirmationMail(e) {
   >  try {
   >  var ss, cc, sendername, subject, columns; //DO NOT CHANGE “CC” TO “BCC” (IT
   > WON’T WORK!)
   >  var message, value, textbody, sender;
   >  cc = “youremail@example.com”; //EMAIL THAT WILL BE CC’D ON THE CONFIRMATION
   > TO THE USER
   >  // SENDER NAME FOR THE EMAIL
   >  sendername = “Team 1836: Milken Knights”;
   >  //SUBJECT FOR THE EMAIL
   >  subject = “Thanks for contacting Team 1836!”;
   >  //BODY FOR THE EMAIL
   >  message = “Thank you for submitting the contact form!
   > A team member has recieved your information and will get back to you soon.
   > In the mean time, stay up to date with us:
   > Website: milkenknights.comFacebook:
   > fb.com/TheMilkenKnightsTwitter: @milkenknights
   > Thanks!
   > Team 1836
   > Here’s the data submitted on the form:
   > “;
   >  ss = SpreadsheetApp.getActiveSheet();
   >  columns = ss.getRange(1, 1, 1, ss.getLastColumn()).
   > getValues()[0];
   >  //SUBMITTED EMAIL ADDRESS
   >  sender = e.namedValues[“Email Address”].toString();
   >  // DOES NOT INCLUDE BLANK VALUES
   >  for (var keys in columns) { var key = columns[
   > keys]; var val = e.namedValues[key] ? e.namedValues[key].toString() : “”; if(
   > val !== “”) { message += key + ‘ :: ‘ + val + ““; } } //USE  FOR LINE BREAKS.
   > GOOGLE WILL CONVERT TO \N textbody = message.replace(““, “\n”);
   > //SEND EMAIL
   >  GmailApp.sendEmail(sender, subject, textbody, { cc: cc, name:
   > sendername, htmlBody: message });
   >  } catch (e) {
   >  Logger.log(e.toString()); }
   > }

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘No shortcode ID’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [jhasenklein](https://wordpress.org/support/users/jhasenklein/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/no-shortcode-id/#post-6658718)
 * Status: resolved