Feature Request: Post fields not Editable

This topic contains 6 reply and 2 voices, and was last updated by Tareq Hasan 10 years, 12 months ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
May 2, 2013 at 5:46 pm 3111
Tareq Hasan Hey ! Just wanted to pass along what I think is an awesome feature request. Say for example, I want the post title to be exactly the same on every post submitted. Currently, there is no way to do this using just your plugin. I would love to see an option in each post field that says "Allow User to edit?" and if I selected "No" then the placeholder content I entered in the field would always be the content of that particular field once the post is submitted. This will allow default post titles, post descriptions, and many more default fields which could be used in so many ways. I am sure this type of thing could be fairly easy to implement as there is already the Username field on profile form that can't be edited. Thank you! and let me know if you also figure out post notification issue on multisite :)
May 2, 2013 at 5:55 pm 3112
Mike Mike

OH i meant to say I would use “Default value” not placeholder text. Its great default value is there but would really love an option for them not to be able to edit the default value. Or to make this field “hidden” as another poster here was asking.

By the way, there is a BUG in the Post body form I just noticed. It lists the following options twice on the field options:

“PlaceHolder Text”
“Default Value”

Thanks!

May 3, 2013 at 6:01 am 3123
Tareq Hasan Tareq Hasan

Read-only fields doesn’t send form data upon submit. So as you were hoping for default post title, it will not happen.

Default value and placeholder text is different. Placeholder text is a HTML5 feature that you see if the field doesn’t have any value, it’s like an instruction.

May 3, 2013 at 6:03 am 3124
Mike Mike

I am not sure I follow. I actually was able to figure out how to use your plugin to create Default Post title! All you need to do is fill in the “Default value” on the form. Then just hope and pray that the user doesn’t decide to edit it.

If the user doesn’t edit the field with “Default value” it does get submitted as the post title! I am just hoping that there would be the ability to have the default value to remain without user being able to edit. But again, default post title works fine provided they don’t edit it.

May 3, 2013 at 6:08 am 3126
Tareq Hasan Tareq Hasan

There are other ways (filters) to have a default value for the post. But as I was saying, if you set a field to readonly or disabled in the form and if you submit the form, that fields value will not be sent through the request. HTML forms doesn’t send those values if you hit submit.

May 3, 2013 at 6:10 am 3127
Mike Mike

Got it. I understand what you are saying, sorry 🙂 I am still new at learning coding lol. How about making the default value/field hidden? Just throwing out ideas..hopefully not bothering you!

May 3, 2013 at 6:13 am 3128
Tareq Hasan Tareq Hasan

Yeah, that would be a clever hack 😉

Viewing 6 Posts - 1 through 6 (of 6 total)