Question

Passing PHP variable as hidden field value

  • 16 September 2022
  • 2 replies
  • 342 views

We don't get the form to submit when we add the php variable to the hidden field.

data-tf-hidden="name=<?php $name ?>

Do you know what can happen?

I attach screenshots for you to see

“Your reply has not yet been sent”

 

thanks


2 replies

Userlevel 7
Badge +5

Hi @romanalcuadrado Where are you seeing this error message? Could you send the URL where you have the form embedded? Thanks!

Userlevel 7
Badge +5

Hi @romanalcuadrado! Make sure to send the URL where you have your form embedded so we can take a look at it! 😉

Reply