How to insert fields in Ask Form? Getting error

1.85K 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
0

If you would want to maintain the input as an editor, you may try wp_editor(): https://developer.wordpress.org/reference/functions/wp_editor/doodle cricket
I’m still working on this function, so if you know the solution, please let me know.

Answered question
You are viewing 1 out of 2 answers, click here to view all answers.