Display Data from a Form in a Stylized Rich Text After Submitting

Hey all, 

Hoping to get some help - if any has anyone has advice or tips it would be greatly appreciated! 

I currently have: 

  1. A form that re-directs to a child page which contains a Rich Text Field
  2. The Rich Text field has a table - it's the only way I know how to add background colour to text. 

I would like to: .

  1. Include the Date, Time, and Name data fields collected from the form in the rich text  
  2. Fill the entire rich text table with a green background - not just the text. 

![](upload://zxWocS7pezlUwKkaZxvE7lgkx7T.png)

Not sure how to display specific data fields in the rich text or how to add a background colouring to the table itself. 

Guessing HTML is my best bet!? 

Any help or guidance?

Anything I can include to make it easier for the Knack community to help?

Hi Rami. You are going to need some JavaScript in your app in order to do this.

What you are going to want to do is use the record create event listener: https://docs.knack.com/docs/record-create

That will return a parameter 'record'. With dot notation you can extract your fields. You can find them in record.attributes.field_xx

Save them to a variable, and then append them to the DOM.

Hopefully this is enough information to help point you in the right direction. If you need more help don't hesitate to reach out. My email is kelson@ksensetech.com