Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Paul Bors
    @paulbors
    Thank you for the announcement on the rendering engine @travist.
    re: outdated example, that's from formio repo. Can that be updated to at least a note about being outdated? It would help us all.
    Chris Steenekamp
    @chrisformula
    test-form.png
    @paulbors sorry could only post an image here
    I just want to display a button when actually building, and not let it auto submit like it does by default
    Paul Bors
    @paulbors
    Hey @chrisformula, I haven't used the wizard yet so I am not familiar with its API as well as I am with the default form. Thus you would need to give me a plunker.co or similar web live example to see your code and not a screenshot.
    To quote Linus Trovalds "Talk is cheap, show me the code" :)
    Chris Steenekamp
    @chrisformula
    if you switch it to wizard, it is the exact example code
    @paulbors it also has no button on the official demo
    I would also like to show the JSON schema as per the demo on the right hand side
    Paul Bors
    @paulbors
    Hey @chrisformula, this group is the community users of FormIO. We're other developers using the project just like you. As such, if you want our help you need to show us some live code and not just an image or say what to do. I personally have my own things to do on weekend and helping when I can how I can. If you want my help fast, then show me the code or you may opt to wait for another user that's better familiar with the Wizard to answer your question. But I will not spend time to program a hello world wizard just to help you :)
    Okay, so the live example from formio.js has the wizard editor allowing you to create page by page tabs and it has a button to submit the form when you get to the last page (or step) in the wizard
    Paul Bors
    @paulbors
    you said you want to display a button when acutally building the form. what does that mean? can't you just click-n-drag over the button you want to the page? or do you want to modify the formio wizard button panel on the bottom of it where the Next, Previous and when you get to the last step Submit buttons are?
    maybe sketch a mockup UI in paint and upload the image here to better understand what you're asking for? Personally I am confused... :)
    Paul Bors
    @paulbors
    Or do you not want a Wizard but instead you want a tab container that you can submit from any tab on the page? That's a simple form with a tab container
    Chris Steenekamp
    @chrisformula
    Ok I sorry explained like my ass, so I want to only create a 2 page form and not the full max pages before the button appears.
    @paulbors sorry I did not mean to tick you off at all, would show code if I got further than the init code.
    ollybondareva
    @ollybondareva
    Hi guys, just need a suggestion. Perhaps it’s similar to this one formio/formio.js#3530. I have custom checkbox template where I’am going to show stuff according to ctx.checked. As the template is not rerendered on check/uncheck, I would like to know is it ok to call redraw(can I call it in updateValue or where is the right place to do that) or to use some other approach? Thanks!
    Chris Steenekamp
    @chrisformula
    <div class="col-12 home">
    <form-builder :form="{ form, display: 'wizard' }" :options="{}" v-on:change="(schema) => submit(schema)" />
    </div>
    @paulbors
    Paul Bors
    @paulbors
    Have ur own button and button to the formmbuilder submit event.
    • and listen
    You will capture the edited form JSON. The live example shows it during onChange
    @ollybondareva why not a Custom Compomemt?
    You'd be in full control
    jnagel3613
    @jnagel3613
    I have an html image area that I need to have a clickable map and the information needs to be sent to a different text field. I have attempted to complete it but I cannot get the map to put in the values to another field. Is there a way to make it work?
    ollybondareva
    @ollybondareva
    @paulbors actually it is a custom component extended from Checkbox. Anyway it worked with redraw in updateValue, thanks
    pjriot
    @pjriot
    Hi folks. Anyone have any idea why I might be getting an "Unhandled Rejection (Error): Missing projectId" from webpack when I attempt to import FormBuilder? (I'm sticking pretty close to the formio/react-app-starterkit but I'll go and test that in isolation just in case I'm missing something)
    pjriot
    @pjriot
    (ah, that repo only gives an example of extending FormBuilder, not actually using it) FWIW I'm on react-formio@4.3.0 & formiojs@4.13.0
    Paul Bors
    @paulbors
    Hey @jnagel3613, if you want to copy the value from one field to another, simply use a JS snippet expression in one of the custom scripting blocks to do so. I would do it in both, field A onChange to update B, and B onClick/Focus to be updated with A. Unless, ofcourse you use a custom component in which case is simpler :)
    Paul Bors
    @paulbors
    Start here: https://help.form.io/userguide/introduction/
    Click on Fields then looks for the Custom Validation (that's a simple hack to have your own JavaScript block executed by the Form engine)
    When you edit the custom value / validator JavaScript block you'll see what variables are avaialbe for you in JS. If memory serves right "data" is the form submission object (your user input as JSON) so you can do things like: data.fieldB = data.fieldA to copy the values over...
    (there might be a simpler way, let's see what the other 500+ people respond with)
    btw, if you have a pain license, reach out to your FormIO rep
    Thomas P. Fuller
    @thospfuller

    Hi Folks,

    I need to track embedded form usage via Google Analytics and I'm wondering if this is already available out-of-the-box?

    I have looked around but I didn't see anything and since I'm new to FormIO I figured I'd ask.

    If this is not available, any guidance or suggestions re how to implement this would be appreciated.

    Thanks for your help.

    sandeepaem
    @sandeepaem
    Hello All
    Missing ProjectId is occuring whrn writing Unit test case for Custom components. Any idea. Thanks
    rahul106-cpu
    @rahul106-cpu
    Hello All,
    I want to apply custom validation in form.io attributes section as i want to make mandatory fields them . Can anyone help me ?
    also i am using formio library with angular application.
    Paul Bors
    @paulbors
    You want to mark a field mandatory? They check on the required field. Not sure I understand your question.
    Dawid Sibiński
    @mm-dsibinski
    Hi guys, I'm trying to use the FormIO's ckeditor5-classic (https://github.com/formio/ckeditor5-build-classic) build in my app, but I have some issues with that. I reported a GH item to ckeditor for that, but maybe one of you knows what might be the solution? The reported issue: ckeditor/ckeditor5#9589
    rahul106-cpu
    @rahul106-cpu
    @paulbors Hi paul,
    Thanks your response. please take a look over below screenshot for more clear about my question
    https://prnt.sc/128wkoi
    Paul Bors
    @paulbors
    Hey @rahul106-cpu so you want custom form field validation on Form Builder, the one in which a developer or business analyst uses to edit or customize a form for the end user at runtime. Or are you exposing this Form Builder to your end users so they can create their own custom forms?
    I'm asking because the way you implement a custom validator for the Form Builder tool is different from the form the end user interacts with.
    vijaynet10
    @vijaynet10

    Hai , am using formiojs version 4.12.0 but its not behaving correctly on custom date formats
    " Weird behavior of Date control settings with custom format dd-MM-yyyy"
    Issue 1: Am passing the placeholder : '' but it shows "dd-MM-yyyy"
    Issue 2: on focus out the date control's value changed to : 20-01-2021
    but it works properly in default format "yyyy-MM-yy"
    do we have any patch work on this issue ?

    I tried with formiojs version 4.13.0 - here date works properly in custom format ("dd-MM-yyyy).
    but new issue arrived here => on Values changes custom events are not emitted
    ex: based on value am changing Panels Visibility
    could you please a provide a patch or stable release that will be much helpful for me ...

    Andrei Nitescu
    @andreinitescu
    Question about the JavaScript SDK: Is there a way to get the submission data not include field which are calculated (have calculateValue) ?
    Aziz Maredia
    @maredaz_gitlab
    Hello Everyone, I am new to form.io, I have an account and want to download PDFs for all the stored forms. Does anyone in this group have the script that can download forms and pass me?