Hi,
I'm having troubles starting with nuBuilder 3 and Form Wizard.
First, I created a first table.
Then, I opened Form Wizard, trying to import it. Form Wizard see this table, but when I try to save and create the new form I get an error about "A Table needs to be chosen"
I tried with Chrome too to discard IE browser incompoatibilty, but same error.
I'm doing the same as http://www.youtube.com/watch?v=BvhjdlzE ... AJK7Eetc4R
There are something I'm doing wrong?
Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
[SOLVED] Form Wizard BUG?
-
- Posts: 70
- Joined: Sat Jan 25, 2014 11:01 am
-
- Posts: 70
- Joined: Sat Jan 25, 2014 11:01 am
Re: Form Wizard BUG?
Solved.
Problem was I didn't selected a primary key, but error is confusing.
On zzzsys_form table, on nuformwizard record, inside sfo_custom_code_run_before_save field, aprox on line 91, there is a portion of code like this.
I think could be more interesting to have something like:
Problem was I didn't selected a primary key, but error is confusing.
On zzzsys_form table, on nuformwizard record, inside sfo_custom_code_run_before_save field, aprox on line 91, there is a portion of code like this.
Code: Select all
if( $table === '' || $primary === '') {
nuDisplayError('A table needs to be chosen');
return;
}
Code: Select all
if( $table === '') {
nuDisplayError('A table needs to be chosen.');
return;
}
if( $primary === '') {
nuDisplayError('Form Wizard can't detect Primary Key on selected table.');
return;
}