Viewing 1 replies (of 1 total)
  • simple-subscribe plugin using Nette library for create form so you can add placeholder using setAttribute method.
    Ex:
    if(array_key_exists(‘firstName’, $fields)){
    $form->addText(‘firstName’, ‘First Name’)-> setAttribute(‘placeholder’, ‘Your Name (required)’);
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Placeholder’ is closed to new replies.