Home Forums Plugin Support WP User Frontend Pro Feature Request: Post fields not Editable

This topic is: not resolved

This topic contains 6 replies, has 2 voices, and was last updated by  Tareq Hasan 5 years, 10 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3111

    Mike
    Participant
    Post count: 26

    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 ๐Ÿ™‚

    #3112

    Mike
    Participant
    Post count: 26

    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!

    #3123

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #3124

    Mike
    Participant
    Post count: 26

    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.

    #3126

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #3127

    Mike
    Participant
    Post count: 26

    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!

    #3128

    Tareq Hasan
    Keymaster
    Post count: 2831

    Yeah, that would be a clever hack ๐Ÿ˜‰

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Feature Request: Post fields not Editable’ is closed to new replies.