Add a Field Value to Confirmation Message

Knack allows you to add Field Values to emails, but not confirmation messages when submitting a form.

I would like the ability to add field values to my confirmation messages, as shown below:

This seems like a no brainer -

This can be done using 2 ways.

  1. Javascript.
  2. After submitting redirect to the child page where we can show Field values with a combination of custom messages.

Like, Create text formula "Welcome "{Name}…

Regards,
Sunny Singla

Makes sense - however what I am after -
I have the form set to Reload after the User submits it. I would love to have the success message at the top of the refreshed form say “Congrats you just create {FieldXYZ}, now you can create more!”

Hello Mike,

This needs a minor javascript then.

In submitrule adds static text accordingly.

$(document).on(‘knack-form-submit.view_156’, function (event, view, data) {
setTimeout(function(){
$(“#view_156 .success>p>p”).html($(“#view_156 .success”).text().replace(“{name}”,data.field_388));
},10)
});
test below
https://roberts.knack.com/farmers#test-field/

Regards,
Sunny Singla
ssingla1985@gmail.com
+919855089359

@Sunny_Singla thanks for sharing! I also went ahead and added a splash of confetti to when this is displayed.

1 Like