Forum Replies Created
-
AuthorPosts
-
Martin
ParticipantPerfect. Thanks for that. Incidentally, is there a documented list of all these sorts of things anywhere?
Martin
ParticipantLooks simple enough. Thanks Long.
Martin
ParticipantOK. Not even a coded option to override the options in a list?
As another followup question - is there a way to return a list of the added relationships for other purposes. I'll need to create a button that sends an email to all users added by relationship to a post so will need to get the list.
Martin
ParticipantThanks for that.
A follow up question (probably a bit of a beginners' question) - is it possible to set the value for the std in the Builder?
I've popped it in both the Default value box for the field and as a Custom attribute but both result in the function being set in single quotes in the code and therefore the field value becomes the quoted string rather than the result of the function.
Martin
ParticipantNever mind. I've found style="white-space: pre-line;" which sorts it out - clearly I need more caffeine... 😉
March 10, 2021 at 9:34 AM in reply to: ✅Disabling Edit Button for Custom Post in the Frontend Only #24805Martin
ParticipantSimple and works perfectly. Thanks Long.
Martin
ParticipantPerfect. Thanks for that. It works exactly as wanted now (and I can be more detailed over what I'm doing with it too 😉 ).
February 10, 2021 at 11:25 PM in reply to: ✅Issues occurred following an update of the plugin #24423Martin
ParticipantHi Long,
Still no difference for me. Even using your example data I still don't get the fields showing and mine also doesn't get the Media option set for the Location like your video shows. Just the text stating there are no fields for the Fields tab.
The only other difference is that I don't have the Builder as a separate plugin but as you disabled yours in the video I assume that's not important.
February 10, 2021 at 12:36 AM in reply to: ✅Issues occurred following an update of the plugin #24411Martin
ParticipantAlso worth noting that both the upgraded and the reimported forms altered their Show For setting to Posts rather than the correct setting of Users but both showed the settings correctly again after rolling back to 1.12.3.
February 10, 2021 at 12:26 AM in reply to: ✅Issues occurred following an update of the plugin #24410Martin
ParticipantThanks Long.
Still the same behaviour with that one. I upgraded and did the manual migration as per the doc and still no fields in the form. I did an import of the previously exported form file as well and the only behaviour difference is that it reports no fields in the form rather than just remaining blank.
Martin
ParticipantI've just updated and the behaviour still isn't correct. Some of my forms load but with incorrect details (it seems mostly that groups and tabs are not showing properly or consistently). I also see that in the case of the form I shared above the version that was upgraded in place no longer opens and has the Show For value marked incorrectly as Posts while the version I exported and then re-imported shows correctly there as Users and does open but other forms (really simple ones even) don't open at all.
I'll roll back again for the moment.
Martin
ParticipantThanks Long.
So SearchWP gives a way to do the searching part (which I can do easily enough with code as well). How do I go about getting a Frontend form to be populated with the values I get back?
If we assume I'm getting values from the custom table and have them in variables can I link the form fields when the form opens with the values I have? If so, how do I go about doing that?
Obviously if I save everything as user meta than the fields are already populated when I display the form using mb_user_profile_info and a submission results in an update. Now I want to have the same functionality for any other form.
Martin
ParticipantThanks Long.
I've downgraded and here are the exports I get from both the older version and the latest versions installed.
https://www.dropbox.com/s/cb207hc9vx3nig7/pet-details.json?dl=0
https://www.dropbox.com/s/x3w1k5zshqt6017/client-information-pack.dat?dl=0
In the older version the form works fine still. My current plugin versions are:
Meta Box 5.3.8
Meta Box AIO 1.12.3November 17, 2020 at 7:01 PM in reply to: ✅Is it possible to suppress the title from showing? #22895Martin
ParticipantPerfect. Thanks Long.
November 13, 2020 at 3:47 PM in reply to: ✅Is it possible to suppress the title from showing? #22833Martin
ParticipantThanks Long.
I'm probably being a bit dense but where do I put any of these in Builder? For instance I can see the line below in the code tab but that's not editable.
'title' => esc_html__( 'My Title', 'text-domain' ),And where would I put the 'style' => 'seamless' setting? I see an option for this if the Show For is set to Posts but my form is for Users and the whole Option section of Settings is removed when I select Users. I tried it under Show For Posts which looked how I wanted but I need it to do the same for Users.
-
AuthorPosts