{#if form?.error?.id === 'minPlayers'}

Error: {form.error.message}

{/if}
{#if form?.error?.id === 'maxPlayers'}

Error: {form.error.message}

{/if}