Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by DLG on Sep 18, 2009 11:00
open dhtmlx forum
I cant get values submited from FORM (post method), when the inputs are in dhtmlxTabbar

Hello, i have this design.

[code]
<form name="foo" method="post" action="foo.php" .. >
<table
...
<td>

<div id="a_tabbar" style="width:595px; height:400px;"></div>

</td>
...
</table>

<input type='submit'...>

</form>
[code]

In this document, you can manage tabs, add and remove, and each tab has some values (text inputs). In foo.php, i cant read the values in post mode, with php.

I add, tab content with this

[code]
        tabbar.addTab(id,name,"180px");

        tabbar.setContentHTML(id, sHtml);
[/code]

In sHtml, are there some "<input type="text" id="foo_name_' + id ...>.

foo.php

[code]
<?php
$id = 1;
echo $_POST['foo_name_'.$id]; <= nothing
?>
[/code]

¿Any help me? ¿Is possible this way or i need to manage database with other method?

Thank you, and sorry for my english.


Answer posted by Alex (support) on Sep 21, 2009 08:22

Hello, 

the way, that you use, is correct. Tabbar doesn't provide built-in methods to control tabs content