Convert to Form - with checkbox objects

Do you want to share WYSIWYG Web Builder tips, tricks, tutorials or useful HTML code? You can post it here...
(no questions or problems please, this section is not monitored by support).
Forum rules
This section is to share tips, tricks and tutorials related to WYSIWYG Web Builder.
Please do not post questions or problems here. They will not be answered.

PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
Post Reply
User avatar
alex4orly
 
 
Posts: 466
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Convert to Form - with checkbox objects

Post by alex4orly » Wed Apr 12, 2017 10:22 pm

Friends,

I have experienced lately a long saga after converting a form (using - Convert to form) on the Edit Profile object of the "Login" set of tools in this wonderful WWB package.

The problem I had was in that - on the base objects I added some "Collection" input fields, but when converted, all my "Checkbox" type fields turned into TEXT fields and lost their main purpose.

Well, here are the steps you have to go through in order to retain the intended original structure:

1) Note the object id value, then remove the text fields (those that were originally of type Checkbox). For example, if the field id is "extra7" be sure to record it.
2) After you have removed all those text fields, insert manually new Checkbox objects into the same required places on your form, make sure you assign all of them the same original object ID (so that it matches the database fields).
3) Go into the "Value" item in the Properties and type in there the word "checked" - without the double quotation marks.
4) Right click the checkbox object, select "Object HTML" and once it comes up - click the "Inside Tag" and enter in there the PHP activation - for example : <?php echo $db_extra7; ?> make sure to have a space before the opening left hand side marker
5) Repeat all steps for all checkbox objects

Good luck

Maybe Pablo will consider adding this into the Help document?

User avatar
Pablo
 
Posts: 17907
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Convert to Form - with checkbox objects

Post by Pablo » Thu Apr 13, 2017 5:43 am

Thanks for sharing this info!

User avatar
Biju
 
 
Posts: 348
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Convert to Form - with checkbox objects

Post by Biju » Fri Apr 14, 2017 10:01 am

But for me checkbox stays as checkbox itself after converting to form...
~ Remain Curious
and Keep Learning ~

_________________

User avatar
alex4orly
 
 
Posts: 466
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Convert to Form - with checkbox objects

Post by alex4orly » Fri Apr 14, 2017 10:05 am

I wonder. Maybe Pablo can explain this....
Cheers

User avatar
Pablo
 
Posts: 17907
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Convert to Form - with checkbox objects

Post by Pablo » Fri Apr 14, 2017 10:53 am

The latest update adds support for checkbox conversion.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests