Forum Replies Created
-
AuthorPosts
-
Martin
ParticipantCool. Thanks. I'll split my fields out to 2 custom field groups for now so I can control them separately that way.
Martin
ParticipantAs far as I can see from the docs you set the Include Exclude at the whole meta box form level rather than the individual field level. I need that functionality at the field level if that's possible.
Martin
ParticipantHi Long,
The relationship and CPT are both only registered on the second site. I gather details (booking enquiry form) on one site and then create a user and job CPT on the second site from that data. The only part that the first site has is the form to gather the details and I use my own Ajax call from there. I don't register anything on the first site.
Martin
ParticipantJust wondering if you've had any thoughts on this one as yet. Just looking to tidy up the code if there's a preferred way to do what I'm doing.
Martin
ParticipantAs a quick update - I've successfully added the row for myself into the mb_relationships table and that works but I feel that this is a bit of a hack and I'd prefer to use the proper helper function if you can tell me what I'm doing wrong with it.
Martin
ParticipantThanks Long. The coding options look like the best fit for me at the moment.
Martin
ParticipantOK. Thanks Long.
April 2, 2021 at 9:22 PM in reply to: ✅Is it possible to prevent edits of previously submitted clones? #26914Martin
ParticipantThanks Long. That would be awesome if it becomes an option later on. In the meantime I'll be patient 😉
Martin
ParticipantThat helped a lot. Thanks.
I managed to use this information to extend things a little and generate an automated title based on other fields in the CPT.
Martin
ParticipantAh yes. Thanks. I've got it sorted now. I was expecting something slightly different to what was coming back as well but I've got there now. Somewhat simpler than I was assuming 😉
Martin
ParticipantHi Long,
The use of the functions is quite clear but I'm not getting returned data.
If I use:
$group_pet_details = rwmb_meta('group_pet_details'); $value = isset( $group_pet_detail[pets_number] ) ? $group_pet_detail[pets_number] : 'value not returned'; echo $value; // Display sub-field valueI get the 'value not returned' as the echo response.
The group_pet_details is part of the user meta which is set by relationship rather than saved against the post meta which makes me think I should have some additional level of reference in the field ID.
Martin
ParticipantAwesome. That works perfectly. Thanks Long.
Martin
ParticipantI've just sent an update to the contact form as the issue still exists with the latest update as of today. I'd just left it on 1.12.3 while that was working.
March 17, 2021 at 11:58 PM in reply to: ✅Problem displaying videos in group - video values don't seem to be returned #26495Martin
ParticipantOK. Thanks Long. I wondered if that might be the case. If there is a fix that would be great but I'll revert to the non-grouped version for now.
Martin
ParticipantOK. No problem.
-
AuthorPosts