Jump to content

Anonimas

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Anonimas

  1. 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:

    <label class="label" for="form-check">
      <input id="form-check" name="form-check" type="checkbox" class="checkbox" checked="">Label</label>

    I prefer:

    <input id="form-check" name="form-check" type="checkbox" class="checkbox" checked="">
    <label class="label" for="form-check">Label</label>

    Also is there something like InputFileUpload because I couldn't find one? With optional label?

    <input type="file" id="myFile" name="form-filename">

     

  2. 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(). 

    • Like 1
×
×
  • Create New...