Giter VIP home page Giter VIP logo

dnn.formandlist's People

Contributors

david-poindexter avatar eptamminga avatar galatrash avatar maiklt avatar scullman avatar ufoloko avatar valadas avatar zyhfish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dnn.formandlist's Issues

Value cannot be null. Parameter name: type

Release 6.2.0 on dnn 8.0.3.
It happens randomly, the form and all other html modules on the page look blank; page refresh does not help. One has to go to a different page and back to see the form and the rest of the page working again. Here is the log message:

AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:7c7b50e8-eaf3-4c3b-8ca5-4a66b01c28b3
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:uQ+8ZRsItfjnKYfnr2T38g==
Message:Value cannot be null. Parameter name: type
StackTrace:
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at DotNetNuke.Modules.UserDefinedTable.DataType.get_DataTypes()
at DotNetNuke.Modules.UserDefinedTable.DataType.ByName(String dataTypeName)
at DotNetNuke.Modules.UserDefinedTable.EditForm.BuildEditForm()
at DotNetNuke.Modules.UserDefinedTable.EditForm.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.Add(Control child)
at DotNetNuke.Modules.UserDefinedTable.Default.LoadControlByKey(String controlKey)
at DotNetNuke.Modules.UserDefinedTable.Default.InitViews()
at DotNetNuke.Modules.UserDefinedTable.Default.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.Add(Control child)
at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content)
at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at DotNetNuke.UI.Containers.Container.get_ModuleControl()
at DotNetNuke.UI.Containers.Container.ProcessModule()
at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module)
InnerMessage:
InnerStackTrace:
Source:mscorlib
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:

Error when create record

I installed last version 6.5 on DNN 8.0.4 and after set fields, when try to add a new record I’m receiving this error

Method not found: 'System.DateTime DotNetNuke.Common.Utilities.DateUtils.GetDatabaseUtcTime()

Please your help

Cant use [editor-for:Security Code] in Form template

As per @SCullman comment on #21 we should be able to use [editor-for:Security Code] in the form template. The changes in #22 probably broke this functionality. It would be nice to keep the ability to place the captcha control using form templates and maintain the option to optionally replace dnn captcha by a google recaptcha too.

Porto 2 and Owl Carousel - DNN 8 Forms and List

"We are experiencing an "Owl Carousel problem" when we install the beta DNN 8 module Forms and Lists along with Mandeeps Porto 2 skin with Owl Carousel on IE.

Basically, we are using Porto 2 as a skin and as a part of a couple of HTML module's content we've deployed Owl Carousel using Porto's shortcodes to run the Owl Carousel. Everything was working fine before we installed F and L and added a form to the same pages. Where we used to see the Owl Carousel, we nothing. This only happens when using IE as the browser. We've tried searching for this issue but have not been able to find anything related. Can you help?

Enabling Google recaptcha prevents email generation

When I enable google recaptcha through the module settings and try and submit the form (with successful recaptcha tick, obviously), the page refreshes, no email is generated and the following exceptions are generated in the event log:

ModuleControlSource:DesktopModules/UserDefinedTable/Default.ascx
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:1ac24bfc-e0b0-4a57-bb1f-9deddb15d40c
AssemblyVersion:9.2.2
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
ExceptionHash:K6Osw+Chpatou2xbo59P5eIcelY=
Message:The underlying connection was closed: An unexpected error occurred on a receive.
StackTrace:
InnerMessage:The underlying connection was closed: An unexpected error occurred on a receive.
InnerStackTrace:
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at DotNetNuke.Modules.UserDefinedTable.Components.ReCaptcha.Validate(String encodedResponse, String privateKey) at DotNetNuke.Modules.UserDefinedTable.EditForm.cmdUpdate_Click(Object sender, EventArgs e)


AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:c4b8c63b-c42f-4e30-b7a8-f3512ab592ef
AssemblyVersion:9.2.2
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
ExceptionHash:wiYHrnELzOzA0mS+ldRz+Tgt8hg=
Message:The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
StackTrace:
InnerMessage:The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
InnerStackTrace:
at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage)


I obtained it on 2 different websites with different skins.
DNN version: 9.2.2
FNL versions: 6.5.0, 6.5.1, 6.5.2

Issue when you set a Required date field

If you set a Required Date Field, datepicker is not being initialized.

Steps to reproduce the behavior:
1.- Create a new Form
2.- Add a new Date field, but set as required field.
3.- Save an try to input a record.

Expected behavior

When you focus date field you should see datepicker, but is not showinw

I can see problem is because class for date field when required is class="fnl-datepickerdnnFormRequired", so the script is not finding fnl-datepicker class to initialize, i think

documentation

I cannot locate the documentation for this module.

UserDefindTable_GetRows Querry issue

We are using the form and list module in our DNN 9.1.1 platform and we have noticed that the query UserDefindTable_GetRows is running constantly on our database server and using 100% of the CPU. Can you please help us why this query is running constantly? our database team have suggested we index this query. can you tell us if this will help?

userdefindtable_getrows_querry

Is not possible to change "Displayed text after form post" after form creation

Describe the bug

After you create a form and set some info, if you try to update the "Displayed text after form post" field in CKEditor, changes are not saved

To Reproduce

Steps to reproduce the behavior:

  1. Create a form and finish some settings
  2. Try to change "Displayed text after form post" field in CKEditor
  3. Save

Changes are not saved. If you edit again, you will see the same default text

Expected behavior

You should be able to save new value for "Displayed text after form post" field

URL variables

How do you access a URL variable so it can be used in the paging navigation? I have it implemented on a job search site. It worked well until the last upgrade of the module and it broke. My issue is paging. I need to pull URL variables and put them in the paging links. (1,2,3, at bottom for page navigation) I can not figure out how to call the URL variables for these paging links??? EG - URL - http://www.intlmedicalplacement.com/Job-Search-NEW?st=AR&sp=Critical%20Care%20Medicine and this is what the paging navigation link is which is missing the ST and SP variables - http://www.intlmedicalplacement.com/Job-Search-NEW?udt_543_param_page=3&st=&sp=

DNN9 and FormAndList module

I have tried to install the module on DNN 9 instance but I get errors, is the module DNN 9 compatible?

Error I get "Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: type ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at DotNetNuke.Modules.UserDefinedTable.DataType.get_DataTypes() at DotNetNuke.Modules.UserDefinedTable.DataType.SystemDataTypes() at DotNetNuke.Modules.UserDefinedTable.Components.FieldController.GetFieldsTable(Int32 moduleId, Boolean addNewColumn, Boolean addAuditColumns) at DotNetNuke.Modules.UserDefinedTable.Configuration.BindSettings() at DotNetNuke.Modules.UserDefinedTable.Configuration.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---"

Many thanks
A

Source seems to be incorrect

Can you repost the source for version 6.02? The Source in Source code (zip) doesn't appear to be correct for version 8. It is reference the Telerik datepicker which no longer exists in 8. This is apparent when you test the module and Add a record.

The Source in FormAndList_06.02.00_Source.zip is missing a lot of files.

List search results hidden in Form mode

FnL 6.2.0 on DNN 8.0.4 with Form only, showing 'Show Records' button, and click it to see records. Then do a search and the results are not displayed; only the form again. Editing the URL in the browser at that point to add '/show/records' shows the proper search results. It seems to happen only when using the XSLT option, and doesn't happen with the Auto option.

BTW, the paging buttons properly include the '/show/records?' code in the URL.

'Form above List' etc. modes do not have this issue, by their nature since they always show the list.

Default Values from Profiles convert Umlaute to Html Entities

Describe the bug

Default Values from Profiles convert Umlaute to Html Entities, they should be rendered as plain unicode strings instead.

To Reproduce

Steps to reproduce the behavior:

  1. Make a form with a text field witch gets its default value from a profile property. e.g. [Profile:Company]
  2. Change the profile and add an umlaut to that field: e.g. Ärgerlich
  3. Open the form
    it looks like
    image

Expected behavior

It should look like
image

Folder permissions, image type

Describe the bug

Hello,
I have one thing thats is buggering me for quite a few days now.
We have DNN 8.4.2 and the latest FNL 6.5.1.

Not sure if this is a bug or a feature by design or not even possible. We have setup the module definition to have two fields, one is string the other one is an image type. The idea behind the module is a really simple one, add your own record with a description and an image of it. When you add it an admin or a host user needs to review or maybe change something and the save it again. So we have two user roles admins and registered users. A user can see only his files so we set the permissions to Portals/0/Users/ folder for role Registered users, other folders and hidden. This was set under Admin -> File management.

Everything OK so far.. when users chooses a folder to upload, he can only select "My Folder" (any idea where this is set what actually is My Folder, we found out its /portals/0/Users/[modulus]/[userid], but didn't found any settings to change to something else?).

But the main problem is when and admin or even a host tries to edit the same record... he doesn't have the same file selected but the first file from root folder /portals/0/, so he can't edit another users record and the save it without overriding and changing the main image from the original record.

Is this some kind of bug or a limitation of DNN file manager or something else? Can you please explain, pretty please :)

To Reproduce

Steps to reproduce the behavior:

  1. Add new module to page, set two fields one string, one image as the schema definition, make them both required.
  2. Set the FNL settings to user can edit only his records.
  3. Create a regular user and log with him in another browser or incognito, on the first browser be logged in as host or admin account.
  4. Create a record with a regular user and one record with admin/host user. Upload a file to My Folder/ as a regular user. choose any other folder and upload with admin/host user.
  5. Now let admin edit the user created record and check what file is selected under image type field.
  6. It is overridden with admin/hosts files and its actually not showing the users uploaded file.

Expected behavior

An admin/host user can see, check or change or leave the users uploaded file. Not that it gets overridden by his files, especially not the first image type from /Portals/0/.

Error log

There are no errors logged in the event viewer that I would know of.

I hope someone can check this or at least tell me that the expected behaviour is not even possible or am I doing something completely wrong? :\

Thanks for heads up and hope to hear from you soon.
Tine

Uncaught TypeError: $(...).live is not a function at jQuery.fn.init.$.fn.CaptionValueEditor

Describe the bug

Go to Form and List Configuration, then add a new field. Have the dev tools console up and you will see that this error is thrown upon opening the popup to add the new field (or edit an existing field).

jquery.js?cdv=81:3869 Uncaught TypeError: $(...).live is not a function
at jQuery.fn.init.$.fn.CaptionValueEditor (CaptionValueEditor.js?cdv=81:71)
at HTMLDocument. (8?popUp=true:539)
at mightThrow (jquery.js?cdv=81:3583)
at process (jquery.js?cdv=81:3651)

As a result, you have to click the Save button twice, and you are not able to use the List Editor (pencil icon next to the Form Settings>List of Values input).

Redirect to another page

Is your feature request related to a problem?

I would like to be able to redirect the form to another page after submitting. IT would work as a "thank you" page. It seems that this used to be possible in the past, but I couldn't find it on the latest version

6.2.0 (pre-release) - Unhandled error loading module

I have upgraded Forms and List to 6.2.0 on DNN 8.0.2
When viewing the page as a guest or non-admin user, all is well.
When logged in as an administrator, which will hide the CAPTCHA and display the "Show Records" link, the form is displayed but the "Show Records" link is not (neither is the CAPTCHA, just to be clear).
Instead the bottom of the page contains the text of an error message:
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane. ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at DotNetNuke.Modules.UserDefinedTable.DataType.get_DataTypes() at DotNetNuke.Modules.UserDefinedTable.DataType.ByName(String dataTypeName) at DotNetNuke.Modules.UserDefinedTable.EditForm.BuildEditForm() at DotNetNuke.Modules.UserDefinedTable.EditForm.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at DotNetNuke.Modules.UserDefinedTable.Default.LoadControlByKey(String controlKey) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module) --- End of inner exception stack trace ---

DNN 8.0.0/.NET 4.5 release

Hi, can the changes from the pull requests area be placed into a version 6.2.0 release of the Form and List module so that it will be compatible with DNN 8.0.0/NET 4.5? Thanks! Todd

Add client side validation for fields

Actually, you have regular expression validator for fields but just works after submit the form

It would be great to have client side validations too, for better UX with forms.

How to apply a saved template to a new installation

I "saved as template" for a list that I created on one site and want to apply it to another dnn installation but cannot figure out how to do that. Seems like I have done it in the past but can't remember how I did it. I am using v6.1 on a dnn 7.4.2 web site.

Update documentation

I have moved the documentation from codeplex to the project wiki here on github. I have made some minor corrections but the documentation needs to be completely reviewed and updated.

Email address field error

Describe the bug

When a new form is submitted, it no longer generates an email message. Also the confirmation message is not displayed.
The error shows "Message:The parameter 'address' cannot be an empty string. Parameter name: address"

To Reproduce

Steps to reproduce the behavior:

  1. Create a form with email address field. Set module settings to email generated on new and a template to display after submission.
  2. Submit form with valid email address.

Expected behavior

An email message is expected to be generated and sent to the specified recipients as indicated in module settings. Form submitted successfully message should be displayed as specified in the settings.

Screenshots

If applicable, add screenshots to help explain your problem.

Error log

Note: Debug DLL's
Please replace the current extension DLL's with the debug DLL's (if these are available with the release) and reproduce the error with the debug DLL's before pasting the error log.

Sorry, I'm not exactly sure what the above means, but here's this.
Message:The parameter 'address' cannot be an empty string. Parameter name: address

StackTrace:

InnerMessage:The parameter 'address' cannot be an empty string. Parameter name: address

InnerStackTrace:

at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailSender, String mailTo, String cc, String bcc, String replyTo, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, List1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, String replyTo, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, List1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Modules.UserDefinedTable.Components.TrackingController.SendMail(String from, String mailTo, String cc, String bcc, String replyto, String subject, String data, String message, String trigger, String script) at DotNetNuke.Modules.UserDefinedTable.Components.TrackingController.HandleAction(Trigger trigger, DataSet data, UserDefinedTableController udtC) at DotNetNuke.Modules.UserDefinedTable.Components.TrackingController.OnAction(Trigger trigger, Int32 rowId, UserDefinedTableController udtC) at DotNetNuke.Modules.UserDefinedTable.UserDefinedTableController.UpdateRow(DataSet ds, Int32 rowNr, Boolean isDataToImport) at DotNetNuke.Modules.UserDefinedTable.EditForm.cmdUpdate_Click(Object sender, EventArgs e)
Source:

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Additional context

Add any other context about the problem here.

DNN 9.2.2 and FormAndList module 6.5.2

Following Stefan's advise I was able to Tags - a custom datatype to the list of datatypes. And I'm able to make Tags selections but clicking on any form control that causes page postback [File (A File on Your Site)] clears multi-select Tags text boxes. All other input form controls, including single-select Tags input control retain their input data on page postback.

See "Before PostBack" the screen below:

beforepostback

See "After PostBack" the screen below:

afterpostback

I'll appreciate any suggestion that will help me to fix this issue. I want the data in all input form controls to be available when the "Update" button is clicked.

Custom search options for FnL 6.1

Is there a way to create custom search options (check boxes, radio buttons, etc.) in Form and List, other than the default 'Browse records in...' dropdown / text boxes?

I'm trying to work my way through documentation re: XSLT, but I'm thinking this is only for displaying the results, but not how to give the user different options for searching/filtering those results?

Thank you!
-Roger Harness

DNN 9 Form and List Configuration

I have recently upgraded a dnn 6.2.3 site with F&L 6.1.0 to dnn 9.2.2 and F&L 6.5.2. Unfortunately the F&L configuration shows the following error message which does not allow users to update existing records or add a new record:
"DataType "Tags" is not installed. Please either check DataTypes.Config or change the type of the matching fields."

I have observed that the reason for this error is because "Tags" has been removed from the List of form control types of F&L version 06.05.02.

I strongly believe including Tags in the available forms controls list will resolve this issue.
A clear and concise description of what you want to happen.

Please find the screen shot of the issue below:

issue-screenshot

DatePicker not working in 6.05.01

There is an extra single quote in the resx file that is causing a javascript error which renders the datepicker nonfunctional.

In App_LocalResources/form.ascx.resx, Monday has 2 leading single quotes, should be 1:

<data name="DayNamesMin.Text" xml:space="preserve">
    <value>'Su',''Mo','Tu','We','Th','Fr','Sa'</value>
  </data>

Apply template does not work

When creating a template on a page and trying to import it in another page, nothing happens.

Dnn version: 9.2.0
Module version: 6.4.0

Steps to reproduce

  1. Install F&L 6.4.0 on Dnn 9.2.0
  2. Create a page with the module
  3. Enter some fields and then some data
  4. In the module menu, click Save Template
  5. Create a nother page and place a new F&L module
  6. The module shows a list of saved templates to apply
  7. After clicking apply on the template the page refreshed and the Start a new configuration message shows instead of actually using the template.

Expected behaviour:
The module should import the template and be ready to use it.

Add issue templates

We need to add issue templates to be consistent with the other DNN Community repos.

Date Time Popup

Describe the bug

Since the upgrade to DNN9.2.1 I have noticed that when you click to use the date picker, the date refers to the incorrect day. Eg: September 1st 2018 is listed as a sunday. But it should be a Saturday. I have checked this in the HTML module and there, it is fine. But in the Form and List Module it is worng

To Reproduce

Steps to reproduce the behavior:

  1. Go to an empty page and insert a Form and list Module.
  2. Confirgure the Form and list module and add a Date Time Field. Leave on default
  3. Save and return
  4. Click in the date field to bring up Date Picker. Choose September
  5. You can see 1st of September 2018 is a Sunday. It should be a Saturday

Expected behavior

See 1st September 2018 as a Saturday.

Screenshots

If applicable, add screenshots to help explain your problem.
image

Error log

No Errors

SEO and form and list

Hi
It would be great to have the module creating different page title and description for each page (url) generated.
This happens in the detailed pages for each item.
This will avoid SEO errors.
Best
Jose

URL datatype does not provide link to external URL

Describe the bug

If you use a column of data type "URL", enable "Track Number of Downloads" and add a row with an http or https link, the link is properly displayed in caption but the link simply contains current page address.

To Reproduce

Steps to reproduce the behavior:

  1. Add FnL to a page
  2. Add a column of type "URL" and enable checkbox Track Number of Downloads.
    Save (without entering a value for caption)
  3. Add a record with an URL like "http://www.github.com" and save
  4. See the url properly displayed, but when you click it, it just reloads the current page.

Expected behavior

you are forwarded to the displayed page

Error log

non

Additional context

variables file and file_UDT_URL in XML view are not properly populated (blanks added):

< File>
< !--https://www.github.com-->< a href="">https://www.github.com< /a>
< /File>

CSS Style is not working and spacing issue with HTML data type

These issues are for Version 6.05:

  1. The CSS Style Option is not functioning under the Form Settings (in the configuration menu) for the Text data type. For example, width:400px;min-width:400px has no effect on the column.

  2. When setting a column to the HTML data type, there is additional padding added to cell height within the column when additional HTML tags/formatting are used. The expected behavior should be similar to the Text data type where cell height automatically adjusts depending on amount of text in cell (see attachment for example).
    module issue

InnerMessage:Index was out of range.

Get this error when i click Start with a new configuration. DNN 9.02(366)

InnerMessage:Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

InnerStackTrace:

at System.Collections.ArrayList.get_Item(Int32 index) at ASP.portals_malmbergs_skins_malmberg2018_subpage_submenu_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Attempting to use Generated Bootstrap form Template Error

Describe the bug

  • Choose Enable Form Template, and use the Generate Template button
  • Then when clicking on the Edit icon for a row in the list, the module throws an error and won't load

The template that was generated, if that helps, was this:

<div class="form-horizontal">
    <div class="form-group">
        <div class="col-md-2">[label-for:Open Date]</div>
        <div class="col-md-10">[editor-for:Open Date]</div>
    </div>
    <div class="form-group">
        <div class="col-md-2">[label-for:Project]</div>
        <div class="col-md-10">[editor-for:Project]</div>
    </div>
    <div class="form-group">
        <div class="col-md-2">[label-for:Status]</div>
        <div class="col-md-10">[editor-for:Status]</div>
    </div>
    <div class="form-group">
        <div class="col-md-2">[label-for:Complete Date]</div>
        <div class="col-md-10">[editor-for:Complete Date]</div>
    </div>
</div>

Error log

ModuleId 441 ModuleDefId 136 FriendlyName ModuleControlSource DesktopModul
ModuleId:441
ModuleDefId:136
FriendlyName:
ModuleControlSource:DesktopModules/UserDefinedTable/Form.ascx
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:0e4e615e-28f3-4611-b78c-d509ee1d97cd
AssemblyVersion:9.2.2
PortalId:0
UserId:1
TabId:43
RawUrl:/Projects/ctl/edit/mid/441?UserDefinedRowId=3
Referrer:https://leydenranch.org/Projects
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
ExceptionHash:MehwU+QEa/Gf9ncgirdVIflTa68=
Message:Object reference not set to an instance of an object.
StackTrace:
InnerMessage:Object reference not set to an instance of an object.
InnerStackTrace:
at DotNetNuke.Modules.UserDefinedTable.DataTypes.EditString.set_Value(String value) at DotNetNuke.Modules.UserDefinedTable.EditForm.Page_Load(Object sender, EventArgs e)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: Mozzo-VM-App-DB

Additional context

Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.