Hello all
old : tep_draw_input_field('name', $XXXX, 'required aria-required="true" id="inputFromName" placeholder="' . ENTRY_NAME_TEXT . '"');
new: (new Input('name', [ 'id' => 'inputFromName', 'placeholder' => ENTRY_NAME_TEXT]))->require(), FORM_REQUIRED_INPUT;
how is the $XXXX to add into the new form to get same result ?
thanks in advance
Ralph
need help with "new Input"
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: need help with "new Input"
(new Input('name', ['value' => $xxxx, 'id' => 'inputFromName', 'placeholder' => ENTRY_NAME_TEXT]))->require(), FORM_REQUIRED_INPUT;
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.