diff --git a/src/pages/createOrderNewFlow.js b/src/pages/createOrderNewFlow.js index 8af7276a56b..82bef5ef17d 100644 --- a/src/pages/createOrderNewFlow.js +++ b/src/pages/createOrderNewFlow.js @@ -552,7 +552,7 @@ class CreateOrderPage extends React.Component { }; // check if we're creating a new organization - if (!currentStep && stepProfile && stepProfile.name && stepProfile.website && !stepProfile.id) { + if (!currentStep && stepProfile && stepProfile.name && !stepProfile.id) { this.setState({ error: null, submitting: true }); try { @@ -563,6 +563,8 @@ class CreateOrderPage extends React.Component { this.setState({ stepProfile: createdOrg, submitting: false }); } catch (error) { this.setState({ error: error.message, submitting: false }); + window.scrollTo(0, 0); + return false; } } else if (currentStep === 'details' && step === 'payment') { // Validate ContributeDetails step before going next