DNN Dynamic Form Submit Button Center Align Issue


Here is the discussion about this issue (THREE YEARS ago!) and options to fix it.
http://www.datasprings.com/Products/ProductForums/tabid/727/forumid/5/tpage/1/view/topic/postid/1459/language/en-US/Default.aspx#1459
 
Edit: The above link stops working now. (5/31/2011)
Here is the the quick fix to modify align=”<%=ButtonAlign()%>”  at  line 503 in  DynamicForms.ascx  file.
The  DynamicForms.ascx  file is located at  /DesktopModules/Dynamic Forms/DynamicForms.ascx
The original:
<DIVid=’SaveForm_<% =ModuleID.TosTring %>class=”DynamicForms_SaveFormDiv”>
<Span align=”<%=ButtonAlign()%>“>
Modified:
<DIVid=’SaveForm_<% =ModuleID.TosTring %>class=”DynamicForms_SaveFormDiv” align=”<%=ButtonAlign()%>“> 
 <Span>
You can remove the empty <span></span> tags if you want.
 
After the modfication of this code, you can use the Dynamic Forms’ setting to change the alignment to center. left or right.
DynamicForm Instance>> Module Configuration>> General Settings>>Align Link Buttons:  Choose From Center, Right or Left.
Don’t forget to hit the link at the bottom to save the setting change.: Update Settings.
 
Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s