Little bug in the Form Builder example

Post bugs here!

Little bug in the Form Builder example

Postby macscripter » Mon Jul 08, 2013 5:16 pm

Hi!
In the example "Form Builder" (http://www.crossui.com/xui/Examples/xui ... index.html) I found a problem: When you remove any object from "Form Data" (at left), press "Build Form" and after press "Get form values", the removed object still in the alert message as if it never were removed.... How can we resolve it?
Thanks!
macscripter
 
Posts: 21
Joined: Wed Apr 24, 2013 12:53 pm

Re: Little bug in the Form Builder example

Postby wahono77 » Mon Jul 08, 2013 8:11 pm

I test it and all is OK, if I clear some values, message dialog is changed too.
wahono77
 
Posts: 90
Joined: Sat Apr 13, 2013 6:04 am

Re: Little bug in the Form Builder example

Postby macscripter » Mon Jul 08, 2013 8:27 pm

Please, try to "Build Form" first, then clear some object in "Form Data", press "Build Form" once again and after click "Get form values". The object that is supposed to be removed, still in the alert message.
Regards,
Alex
macscripter
 
Posts: 21
Joined: Wed Apr 24, 2013 12:53 pm

Re: Little bug in the Form Builder example

Postby support » Tue Jul 09, 2013 12:52 am

Fixed.

Added the following code:

javascript code
// clear data
var dtbd=xui.DataBinder.getFromName(databinder);
if(dtbd)dtbd.setData();
support
 
Posts: 352
Joined: Sat Apr 27, 2013 9:22 am

Re: Little bug in the Form Builder example

Postby macscripter » Tue Jul 09, 2013 6:19 am

Ok! Now works correctly! Great support! Thanks!
Regards,
Alex
macscripter
 
Posts: 21
Joined: Wed Apr 24, 2013 12:53 pm


Return to Bug Report

Who is online

Users browsing this forum: No registered users and 0 guests

cron