Atacch Form to tabbar

Dear Support Team,

I attach form to tabbar with this method:

tabbar.setHrefMode("ajax-html");
tabbar.setContentHref(full_id,"http://localhost/infobase_web/index.php/"+id.toLowerCase());

the page is loaded but validation is not working.All js are in main html.

<style>
.dhxlist_obj_dhx_skyblue label{
    color:#000000;
    font-family:Tahoma;
    font-size:11px;
}
.dhxlist_obj_dhx_skyblue .dhxlist_txt_textarea, input.dhtmlx_validation_error{
    border: 1px solid #A4BED4;
    padding: 1px 0;
}
</style>
<form action="" method="post" accept-charset="utf-8" id="my_form">
    <label>User name: </label><input class="dhxlist_txt_textarea" validate="NotEmpty" type="text" name="user_name" value="" />
    <label>Email: </label><input class="dhxlist_txt_textarea" validate="ValidEmail" type="text" name="user_name" value="" />
    <input type="button" command="validate" value="Validate" />
</form>
<script>new dhtmlXForm("my_form");</script>

Thanks for your help

Hello,

All js are in main html.

It seems that not all js in the main html:

If the problem is not solved, please attach the complete sample to recreate the problem locally

Thank you your fast reply!

I use CodeIgniter MVC to my project.And I use Mysql to generate menus.
All final output ara in application views folder.
The program start view folder “main.php”
And questioned form contain the view/test.php

Thanks for your help.
infobase_web.part2.rar (497 KB)
infobase_web.part1.rar (2 MB)

here is the smaler example
main.zip (441 KB)

Dear Alexandra!

Problem is solved, I used wrong version of dhtmlx form.
I have another question i would like use on form dhtmlx calendar and combo
Ther is any sample how can i? “I know combo is available, I interest calendar component”
And ther is any chance I download form 3.0 beta?

Thanks for your help

Hello,

Form 3.0 can be downloaded here:

dhtmlx.com/blog/?p=890

In this package you may found samples your are interested in.

The latest libraries can be downloaded from the post: viewtopic.php?f=17&t=17685

Eta link ne harosnaja ya nye interested benzin :slight_smile:

vengerskiy malcsik ne jubju expensive benzin :slight_smile:

My russian knowledge is very poor. I studied russian language until 4 years in hungary but i forgot almost everything.

I used viewtopic.php?f=17&t=17685 latest libraries but most of thing not worked properly.
For example databinding, validtaing.That was the problem.The dhtmlxForm.js is smaler than 2.6 rlease.

Best regards.

Hi,

oops, the link was wrong :slight_smile: I’ve edited my previous answer. The form page is dhtmlx.com/blog/?p=890

The 3.0 form has problems with loading from xml and some attributes. They will be fixed in 3.0 Suite. Currently you may use JSON loading instead of xml. The solution is given here:
viewtopic.php?f=17&t=18004