[BUG] default value of hidden field author ? saving as no value #6616
Replies: 9 comments
-
Can you post the code you were using to do this? What content type? Custom Post Type or Advanced Content Type? |
Beta Was this translation helpful? Give feedback.
-
create new ACT, add some fields. |
Beta Was this translation helpful? Give feedback.
-
@YammYcoding What is your shortcode? |
Beta Was this translation helpful? Give feedback.
-
[pods name="test" form="1"] Created a new ACT, added a foo text field and saved. |
Beta Was this translation helpful? Give feedback.
-
WITH USER LOGGED IN
Test: include a test pod, with author hiding from ui, with default value ( user id )
Test: include a test pod, with author showing in form, with default value = 1
Test: include a test pod, with author hiding from ui, with default value = 1
WITH USER NOT LOGGED IN
Test: include a test pod, with author hiding from ui
|
Beta Was this translation helpful? Give feedback.
-
Can you clarify which option you're using to hide the field? |
Beta Was this translation helpful? Give feedback.
-
[x] Advanced > Hide field from ui |
Beta Was this translation helpful? Give feedback.
-
Possibly could be the same bug as in #2610 or similar. |
Beta Was this translation helpful? Give feedback.
-
this 2610 seems something else, mine is specific about the author hide from ui things =) the access denied otherwise, seems to be related to the restriction on guest users that cannot post to wp normally. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Defined author field as hidden from ui, with a default value ( 2 ). But when saving from form, the input hidden of author doesn't have any vallue, and when the form is saved, the field remains empty in database.
Beta Was this translation helpful? Give feedback.
All reactions