Home
TeamSite
Form Builder Toolkit documentation
satchk
Hi,
I would like to work on form components like textarea,textbox using
"Form Builder Toolkit".Where can I find neccessary documentation stuff on these components.
thanks in advance,
Thanks,
satchk
Find more posts tagged with
Comments
rexstaples
The LiveSite Form Builder Toolkit is a set of OOTB components used for building forms in a wysiwyg way. The components are not meant to be used individually by themselves and inspection of their source will reveal specialized code that links the disjoint form elements together. The form builder toolkit uses a css stylesheet and a special javascript file to handle the bindings and form submission.
In the Form Builder Toolkit the component that does all the “work” is the Submit Button. This component specifies the form submit action url and when the submit button is clicked it invokes handler code in the iw-form-builder-toolbox.js. This handler clones the primary form and appends to it all the form builder toolkit form fields on the page. This form is then submitted using a traditional GET/POST.
The css file and javascript file that enable these components may not have been packaged with your installation. I have attached a zipfile to this message that contains both files. Place them in the path of your WORKAREA and configure your page properties to include them both as resources. The javascript file also relies on some constants defined in AjaxRequest.class.js so be sure to include that in your page properties resources.
Selva_Subbu
Hi Rex,
I am using the Form toolkit component, and i included the js and css in workarea and configure in the page properties. I used 1 Text Field component and submit button.
In Submit button Action url also i gave the livesite page link. When i click the submit button from the source page, the value from text filed i have capture from the target page.
I want know that is there any custom need to get the value from the source page. If so, can you please give some sample code.
Thanks in Advance.
Thanks
Selva
Selva_Subbu
Hi Rex,
Using the Form Toolkit component, now i can able to get the parameter value in the Target page.
I used the $PARAMETER[name] in the Appearance XSL. I dont know whether it is correct, please correct me if i am wrong.
In that i am getting one problem, When i click submit from the source page first time, same page is loaded. Once again enter the data in the text field and enter the submit button second time the request is forwarding to target page and parameter is also passed correctly. I dont know where exactly its wrong.
I am using default text field and submit button in the source page.
Thanks
Selva
tec_iwov
what version of livesite are you using?
Selva_Subbu
Hi ,
livesite 3.1.0.0.69204 , Teamsite 6.7.1 Patch 70516.
One more question is Form toolkit will works only in .page or in html also. When i tried to generate html and test the form toolkit its not working.
Thanks
Selva
tec_iwov
do you mean livesite 3.0 livesite 3.1 has not shipped.
the form build is totally customizable as to it's submission (it think the configuration, lives on the submit button component). with pure html you will need some complimentary web container to process the form submission such as jsp. as for not working what do you mean exactly? can you attach the html source? what process are you using to generate it? workflow (do you have a custom workflow?) or menu item?
Selva_Subbu
sorry man its livesite 3.0.1 and teamsite 6.7.1.
Not working is the parameter is not passing from the soruce page to target page.
i used OOTB Generate html to generate the html. From this i understood that in jsp, asp etc only the form toolkit component will work.
Thanks
Selvaraj
tec_iwov
you can make any custom form you want you need to put the attribute type="external" in the form tag to keep livesite from overwriting the other attributes.
sagunbhasin
Hi,
I was following this thread for form builder usage.
I tried using check box component on my .page but what I saw was just a text area with some text similar to the options.
Can any one provide me some reference for how to use the form builder components to construct .page ( i had included the js and css files as mentioned above).I tried the preview option but could not see the check box icon, this si same with multi select box etc components only the submit and reset buttons appear as buttons on page.
Sujay0825
Hi,
I was checking DevNet for some answers.
I have created a .page with some text fields, select box all from Form Builder in Installed components. I have also included the "form-builder.js" in the page settings. The form works fine in IE, but firefox shows the alert: "Your site must include the following resource: form-builder.js". Can anyone tell my why is this alert displayed?
PS. Firefox version: 11.0