Anonimas
-
Posts
5 -
Joined
-
Last visited
Posts posted by Anonimas
-
-
Thanks! Updates works ok.
- 1
-
With adding ".PHP_EOL;" after every field on $form->render() would help reading page source easier, because now all form is one long line.
- 1
-
9 hours ago, Juergen said:
BTW could you please tell me, what is the intention for you to wrap all form fields in an extra div?
Hi,
I'm using https://html5up.net/story template and want to use unmodified css file. It wraps all form fields for inline fields alignment (name and email in example) and css use "form > .fields > .field ". If Div with class "fields" is outside form, then it don't works.
I tested with new version and it works! Thank you for update!
Also it would be useful to add something like setRequiredText(), because now I disabled default and added my text manually before form. Something like setErrorMsg() and setSuccessMsg().
- 1
-
Hi,
Is there a way to insert <div> inside <form></form>? I need to wrap all input fields, but addFieldwrapper() or $form->prepend() does not fit here. It works with str_replace, but then $tmp=form->render() doubles output.
FrontendForms - A module for creating and validating forms on the frontend
in Module/Plugin Development
Posted
Hi Juergen,
Is it possible to make that InputCheckbox won't be wrapped by label (like Select)? I have CSS problem, that now only label is visible and checkbox has 0 width.
Now:
I prefer:
Also is there something like InputFileUpload because I couldn't find one? With optional label?