Forums

php Jtext placeholder

ieraora 14 Jul, 2020
Hello, How can I add php (Jtext) in Placeholder?
Thank you
GreyHead 05 Aug, 2020
Hi leraora,

Have you tried using a Custom PHP action to add the text to the form data, then use a CF short code in the placeholder.

Bob
ieraora 05 Aug, 2020
Sorry a lot, I tried everythings, without success...
The code down is correct?




And the short code is this?


GreyHead 06 Aug, 2020
Answer
1 Likes
Hi leraora,

Please see this FAQ and use the $form->data['variable'] = . . . to set the value

Bob
ieraora 06 Aug, 2020
Ok ok, It was simple.
This topic is locked and no more replies can be posted.