Flask & WTForms: Execution Stops improperly on ValidationError

Solution 1
from flask import (
    Flask,
    render_template,
    request
)
from flask_wtf import FlaskForm
from wtforms import HiddenField, StringField
from wtforms.validators import DataRequired, ValidationError
import phonenumbers
from phonenumbers.phonenumberutil import (
    NumberParseException,
    region_code_for_number
)

app = Flask(__name__)
app.secret_key = 'your secret here'

class PhoneForm(FlaskForm):
    country_code = HiddenField('Country Code',
        validators=[
            DataRequired()
        ]
    )
    phone_number = StringField('Phone Number',
        validators=[
            DataRequired()
        ]
    )

    def validate_phone_number(self, field):
        try:
            pn = phonenumbers.parse(field.data, self.country_code.data)
            self.country_code.data = region_code_for_number(pn) or self.country_code.data
            if not phonenumbers.is_valid_number(pn):
                raise ValueError('Invalid Phone Number')
            field.data = phonenumbers.format_number(pn, phonenumbers.PhoneNumberFormat.E164)
        except (NumberParseException, ValueError) as exc:
            raise ValidationError('Invalid Phone Number') from exc


@app.route('/', methods=['GET', 'POST'])
def index():
    form = PhoneForm(request.form)
    if form.validate_on_submit():
        print(f'CC: {form.country_code.data}\nPN: {form.phone_number.data}')
        # ...
    return render_template('index.html', **locals())
Solution 2
phone_form = PhoneForm()
error = False

if phone_form.validate_phone_and_country():
   phone = PhoneRecord()
   phone_form.populate_obj(phone)
   db.session.add(phone)
    if registration_form.validate_on_submit():
        print(registration_form.is_submitted())
        # ----------------- Database Stuff ----------------------------------
        # create hashed password from password form