Typo3 9.x Form DefaultValue set like ..value="<?=$kwbestnr?>"...impossible?

Viewed 7

Is it possible to pass ...value="<?=$kwbestnr?>"... to an input-field in Form? A small php-script is generating a number which is stored in this variable. I'd like to set this as value to a (readonly) input-field. It works correctly when i check this "hardcoded" but using just ...<?=$kwbestnr?>... as setting for defaultvalue/value in Form just gives back the string itself, not the value of the variable. Guess some rules avoid this - maybe they can specificly disabled? At the moment i have no ideas left...

Thx!

0 Answers
Related