sitecore - Custom MVC Views in WFFM -


i in process of fitting sitecore web forms marketers solution. work need 3 things:

  1. the ability inject javascript rul
  2. rewriting generated code use foundation (instead of bootstrap)
  3. be able read submittet data of "changed" form. ie. form there injected field through javascript.

my initial questions second point: how write these views?

i have followed article: http://www.hhogdev.com/blog/2015/september/customizing%20wffm%20in%20sitecore%208.aspx unfortunately not elaborate on how generate proper names/ids fields , form.

can point me in right direction that?

the blog post linked written based on sitecore 8.0, , although module same implementation of wffm has since changed (unfortunately worse imo).

we using wffm foundation, possible have them both working there few things have do.

i config disable bootstrap css, mean bootstrap markup without css files being included. suggest style around given settings as possible save future upgrade issues:

<settings>   <setting name="wfm.enablebootstrapcssrendering">     <patch:attribute name="value">false</patch:attribute>   </setting> </settings> 

if need edit markup default views form field markup files can found under: website\views\form , editortemplates folder under that. here's kicker. in versions earlier 8.0 update-5 markup did not use bootstrap helper , therefore markup present. latest implementation hides away , therefore harder edit in opinion.

if struggle bootstrap markup take @ view files wffm 8.0 update-5 or earlier. markup more obvious , should able (essentially) port these on sitecore 8.1 , amend markup required (although have found added correct surrounding foundation div's enough)

i have no idea mean point 1, point 3, can't. wffm works on fields create on end, new fields create js lost. if need clever use hidden field (this requires adding custom field type unfortunately) , populate hidden field data need passed server.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -