diff --git a/examples/forms with a variable number of fields/orders.sql b/examples/forms with a variable number of fields/orders.sql index 7e83f2cb..d98e13b8 100644 --- a/examples/forms with a variable number of fields/orders.sql +++ b/examples/forms with a variable number of fields/orders.sql @@ -1,8 +1,12 @@ SELECT 'alert' as component, - 'Thanks !' as title, + format('Thanks %s!', customer_name) as title, 'analyze' as icon, 'teal' as color, - 'Your order is being processed. You will hear from us soon.' as description; + format('Your order is being processed. + You will shortly receive an email on %s with a receipt.', + customer_email) as description +from orders where id = $id; + SELECT 'index.sql' as link, 'Back to homepage' as title;