input: from typing import List
  
  def submit_form_data(form_elements: List[str]) -> str:
      """ Submit form data using Python and Flask to store it in a database.
      The form contains the following elements: Name, Email, Phone.
      Return a confirmation message after successful submission.
      >>> submit_form_data(['Name', 'Email', 'Phone'])
      'Form data submitted successfully'
      """
output:     from flask import Flask, request
      from flask_sqlalchemy import SQLAlchemy
  
      app = Flask(__name__)
      app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///form_data.db'
      db = SQLAlchemy(app)
  
      class FormData(db.Model):
          id = db.Column(db.Integer, primary_key=True)
          name = db.Column(db.String(80), nullable=False)
          email = db.Column(db.String(120), nullable=False)
          phone = db.Column(db.String(20), nullable=False)
  
      @app.route('/submit', methods=['POST'])
      def submit():
          name = request.form['name']
          email = request.form['email']
          phone = request.form['phone']
          new_data = FormData(name=name, email=email, phone=phone)
          db.session.add(new_data)
          db.session.commit()
          return 'Form data submitted successfully'
  
      if __name__ == '__main__':
          db.create_all()
          app.run(debug=True)
  
      return 'Form data submitted successfully'