How to insert fields in Ask Form? Getting error

2.74K viewsThemesphone number field
0

Hi – I am trying to add the INPUT FIELD code as mentioned on link in the AnsPress>Plugin theme file editor> Templates>Functions.php file (at the end)
https://anspress.net/resources/faq/anspress-form-and-validation-api/
I get the below error:
Your PHP code changes were rolled back due to an error on line 158 of file wp-content/plugins/anspress-question-answer/templates/functions.php. Please fix and try saving again.

syntax error, unexpected '<', expecting end of file

How to insert a TEXT Field in Ask Form? I Get below error in the functions.php file. (See screenshot attached)

Answered question