I just noticed while stress testing my site that when adding a new entry on the front end and clicking "Apply and Add New" instead of "OK" that all subsequent entries lose the default values. In my particular example, there is a field called "courseID" that comes pre-populated using a placeholder. It works fine for the first new entry, but as long as you click "Apply and Add New" it drops the default value, which causes problems in the data because it cannot link to related tables. Is there a way to fix this? Thanks.
As I understand you want when you click on Apply and add new you want to have blank editor input type for the columns that are editable and to populate the columns for which you set the default value.
That is correct. The courseID column should populate automatically with default value of %VAR1% and the others should be entered by the user (same as when the initial "Add New" entry is completed).
This is a small bug on our side which is fixed for the upcoming version of the plugin.
I will ask my colleges to see if it is possible to patch the code for you ( and not to break the current one) and you can apply it with the current version of the plugin installed on your site.
Sorry for any inconvenience and thank you for understanding.
Sorry that I am just now circling back to this. When opening wpdatatables.js, the line of code you wanted me to add is already there (see attached). Do you have another solution? When do you suspect you'll put in a permanent fix? My site is getting launched the third week of June so I just need to have this fixed by then. Otherwise if there is no fix then I will hide the "save and add new" button via CSS.
I will need to investigate if more of the code is needed for this issue.
I really hope that the new version will come out next week, we are already late 1 month for the release because of checking the compatibility with all of our add-ons.
The predefined values causes may issues and delay but we are working to find a proper solution of all cases.
I just noticed while stress testing my site that when adding a new entry on the front end and clicking "Apply and Add New" instead of "OK" that all subsequent entries lose the default values. In my particular example, there is a field called "courseID" that comes pre-populated using a placeholder. It works fine for the first new entry, but as long as you click "Apply and Add New" it drops the default value, which causes problems in the data because it cannot link to related tables. Is there a way to fix this? Thanks.
HI Aaron,
Thank you for your purchase.
Can you please send me the link of the table so I can take a look.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aaron,
As I understand you want when you click on Apply and add new you want to have blank editor input type for the columns that are editable and to populate the columns for which you set the default value.
Correct me if I am wrong.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Bogdan,
That is correct. The courseID column should populate automatically with default value of %VAR1% and the others should be entered by the user (same as when the initial "Add New" entry is completed).
- Aaron
HI Aaron,
This is a small bug on our side which is fixed for the upcoming version of the plugin.
I will ask my colleges to see if it is possible to patch the code for you ( and not to break the current one) and you can apply it with the current version of the plugin installed on your site.
Sorry for any inconvenience and thank you for understanding.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aaron,
Ok here is the workaroun
in file
wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js around line 350 find this line of code
after that add this line of code
so the code should look like this
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Bogdan,
Sorry that I am just now circling back to this. When opening wpdatatables.js, the line of code you wanted me to add is already there (see attached). Do you have another solution? When do you suspect you'll put in a permanent fix? My site is getting launched the third week of June so I just need to have this fixed by then. Otherwise if there is no fix then I will hide the "save and add new" button via CSS.
Thanks for any additional help you can provide.
- Aaron
HI Aaron,
I will need to investigate if more of the code is needed for this issue.
I really hope that the new version will come out next week, we are already late 1 month for the release because of checking the compatibility with all of our add-ons.
The predefined values causes may issues and delay but we are working to find a proper solution of all cases.
Sorry for any inconvenience.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables