CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Templated Wizard Possible?

by mrcarver » 24 Oct 2017 15:46

CG Gurus,

I am struggling to get templates working with the CGWizard. Do templates work with the CGWizard? If so any pointers would be very much welcome.

For example when I assign a template to "Step 1", all the other tabs disappear.

Regards,
Monte Carver
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51

by mrcarver » 26 Oct 2017 16:01

Alexander,
Can you confirm the templates being an issue?

Monte
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51

by Alexander Bulei » 26 Oct 2017 16:03

Hi mrcarver,

Can't confirm it yet...
Please send me the simple testcase project.
TIA

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by mrcarver » 26 Oct 2017 20:52

Alexander,

My applogy for the hassle. When I could not duplicate the issue, I found that the template was missing a "</dIv>", which raised all kinds of issues. So best I can tell the templates work fine with the wizard control.

I look forward to using the "vertical" orientation. Best I can tell it should work great for directing the user to fill out over 40 question regarding an insurance application. Hopefully you have added the ability to adjust the tab with in vertical mode.

Regards,
Monte Carver
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51

by Alexander Bulei » 27 Oct 2017 11:11

Hi mrcarver,

My applogy for the hassle. When I could not duplicate the issue, I found that the template was missing a "</dIv>", which raised all kinds of issues. So best I can tell the templates work fine with the wizard control.


no problem ;)

I look forward to using the "vertical" orientation. Best I can tell it should work great for directing the user to fill out over 40 question regarding an insurance application. Hopefully you have added the ability to adjust the tab with in vertical mode.


Beta setup available in download section.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by mrcarver » 07 Nov 2017 17:44

Alexander,

My struggle with wizard templates continues...

Notice in the attachment Temp01 that the current index step is: aria-hidden'"false" and the others are "true". Which appears correct.

However, note the "display" property to any non current step that is bound to a template has "display:block". Is this correct? If I change in the html the property to "display: none", then the other template(s) disappear, which is at it should be.

See attachment Temp01 and Temp02. Note in Temp02 the unwanted rendering of "Step 2: Group Insure" appearing at the bottom of Step 1.

To be thorough, I have attached the HTML of the corresponding page (TemplateHTML.7z)

Please advise on a path forward to resolve this problem

Regards,
Monte Carver

Note 1 : I submitted a ticket via sales@cgdevtools.com to obtain the latest source
You do not have the required permissions to view the files attached to this post.
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51

by mrcarver » 17 Nov 2017 17:06

CG Gurus,

Can I please get some help on this issue? I believe the issue lies in IWCGJQWizard at
TIWCGJQWizardStep.RenderComponents
and /or
TIWCGJQWizardStep.RenderScripts

Is my REDLINE correct in the previous post that "display:block" should be "display:none"?

I find that I can resolve the problem if i change in TIWCGJQWizardStep.RenderScripts:
Code: Select all
AddToIWCLInitProc(format('%s.parent().css("display","block");',[CGGetJQuery(HTMLName)]));

to
Code: Select all
AddToIWCLInitProc(format('%s.parent().css("display","none");',[CGGetJQuery(HTMLName)]));


Thoughts / suggestions ?

Please advise,

Regards,
Monte Carver
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51

by Alexander Bulei » 20 Nov 2017 11:43

Hi mrcarver,

Please send me the simple testcase project.
TIA

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by mrcarver » 21 Nov 2017 18:02

Alexander,

I realize a demo of this behavior is desirable, But my simple demo is not duplicating the problem. Can you please examine the attachment and confirm that the resulting HTML is correct? Furthermore, can you please run a test on your side to determine if my proposed change works from a CG perspective?

Thank you.

Monte Carver
You do not have the required permissions to view the files attached to this post.
mrcarver
 
Posts: 70
Joined: 05 Jun 2012 10:51

by Alexander Bulei » 22 Nov 2017 10:13

Hi mrcarver,

Sorry, but I need the testcase from your side...
One setted/unsetted property can make the break.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQWizard

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.