Forum Replies Created

Viewing 15 replies - 46 through 60 (of 201 total)
  • Thread Starter pzh20

    (@pzh20)

    Konrad, your Engish is impeccable and put me to shame. Are you based in France?

    Thread Starter pzh20

    (@pzh20)

    Just a note, this might be a language thing, but the statement “Select which ACF fields should have their values loaded” says to me which fields are loaded onto the page.

    P

    • This reply was modified 5 months, 1 week ago by pzh20.
    Thread Starter pzh20

    (@pzh20)

    Ah, I see. I’ll give it a go.

    Thanks again

    Thread Starter pzh20

    (@pzh20)

    I assume I’m misunderstanding the workflow. I didn’t realise I needed the php filter as well as the source parameter, and thanfully, it’s rendering now.

    Even though I’ve unticked several fields from the field group on the load tab, they still show up on the form. As you mentioned before, do I have to handle this in the Render tab? Is this a full PHP and HTML definition of all the form elements as in the ‘hooks#form-render’ example?

    Can you please explain the before and after priorities 9 and 10 comments in this example?

    Many thanks

    Thread Starter pzh20

    (@pzh20)

    So if I select a specific post, it works, but using the url parameter doesn’t, in fact it’s opening the post_id of the page the form is on!, not the post_id passed via the url.

    So if I go down the php route, do I need to change the first form (which is passing the correct id in the url) AND the second form, or just the second form to interigate the url and select the correct post?

    Regards

    Thread Starter pzh20

    (@pzh20)

    Thanks again for your swift response.

    I use /add-photo-2?photo_Id={action:post:ID} on the first form, and the source field set to {form:photo_id} on the load form. Isn’t this correct?

    Regards

    Pete

    Thread Starter pzh20

    (@pzh20)

    Edit-Form-“Add-Photo-2”-?-The-Harrisons-Website-—-WordPress.png

    Thanks Konrad, I thought that is what I was doing, by passing the post_id and pointing the thumb-nail at the post image field, it would load the image, not display a button the select an image.
    It seems that even if I untick certain fields in the Load tab, these fields are still shown in the form

    PHO-Add-2-ACFFEA-shortcode-–-The-Harrisons-Website.png

    Also, is it possible the rearrange the order of the fields on the form?

    • This reply was modified 5 months, 1 week ago by pzh20.
    Thread Starter pzh20

    (@pzh20)

    Sorrry, too long staring at a computer screen!

    Thanks

    Thread Starter pzh20

    (@pzh20)

    I’m getting to like this pugin more and more. However, I followed your suggestion of handling the post title by concatenating the fields in the form settings, but it generated a title of (field: font_family) – (font_pair) as in this screen shot instead of the field values

    Image here as I can seem to upload an image

    https://tinyurl.com/28je6agf

    Thread Starter pzh20

    (@pzh20)

    Thanks for getting back so quickly, just to confirm, the user isn’t adding a titl to the post, I’m taking 2 input fields and concattening them into the Title. As I have several different post types, I was checking which post type is being submitted as all submits go through the same hook.

    However, using your hook, and adding the form=’my-form-name’, I wouldn’t need to check the post type. So looking at the documentation, all I would need is;

     update_field('post_name', sanitize_title( $input_field1." - ".$input_field2 ), $post_id);

    where $input_field1 and 2 are fields completed on the form

    Can you clear up something, my post type is called ‘Font Parings’, does that get saved as ‘font-parings’ as I can’t seem to find it’s saved name.

    regards

    Pete

    Thread Starter pzh20

    (@pzh20)

    Great, it was the Field Group Location setting, turned this off and it works! I must admit I wasn’t exactly sure what this meant, so maybe I should have researched a little more.

    Thank you for your help, I hope I can mnove forward now.

    regards

    Pete

    Thread Starter pzh20

    (@pzh20)

    Sorry, I got this wrong, there is a form field hidden but this is not one of the fields from the form, but an email validation input, which I didn’t specify. However, the submit button is displayed.

    I have tried deactivating all other plugins and tried using a guttenburg page to show the shortcode, but nothing works.

    Regards

    Pete

    Thread Starter pzh20

    (@pzh20)

    user_login	user_email	4011694_submitted	5c50a55_submitted	7c6bfb71_submitted	8f2add5_submitted	_first_name	_last_name	_middle_names	_picture	_profile_picture	_relationship	_submitted	_test_text	ac_preferences_check-addon-available-ac-addon-acf	ac_preferences_check-review	acf_to_rest_api_donation_version	acf_user_settings	acfef_get_payment_addon	acfef_payed_submitted	acfef_pro_trial_dismiss	admin_color	announcements_user_counter	be2dfe3_submitted	cadf4c2_submitted	cfadbc5_submitted	closedpostboxes_acf-taxonomy	closedpostboxes_dashboard	closedpostboxes_family_members	closedpostboxes_page	closedpostboxes_post	comment_shortcuts	community-events-location	default_password_nag	description	dismissed_wp_pointers	display_name	dsh_dismissed_not_stable_0.1.15-beta	dsh_dismissed_not_stable_0.1.6-beta	dsh_dismissed_not_stable_0.1.7-beta	dsh_dismissed_not_stable_0.1.8-beta	ecs_instalation	ecs_notification_verification	edit_admin_form_per_page	edit_elementor_library_per_page	edit_family_members_per_page	edit_page_per_page	edit_photograph_per_page	ele_custom_skin_notice_dismissed	elementor_admin_notices	elementor_dismissed_editor_notices	elementor_introduction	first_name	hide_admin_area	hide_admin_submitted	ignore_code_snippets_survey_message	is_email_verified	jpe_ac_preferences_layout_table	jpe_ac_preferences_settings	jpe_capabilities	jpe_dashboard_quick_press_last_post_id	jpe_elementor_connect_common_data	jpe_elementor_pro_enable_notes_notifications	jpe_media_library_mode	jpe_persisted_preferences	jpe_user-settings	jpe_user-settings-time	jpe_user_level	last_name	locale	manageedit-acf-post-typecolumnshidden	manageedit-acf-taxonomycolumnshidden	manageedit-acf-ui-options-pagecolumnshidden	manageedit-family_memberscolumnshidden	manageedit-pagecolumnshidden	managenav-menuscolumnshidden	message_token	meta-box-order_cjtoolbox	meta-box-order_dashboard	meta-box-order_family_members	meta-box-order_page	metaboxhidden_acf-taxonomy	metaboxhidden_dashboard	metaboxhidden_family_members	metaboxhidden_nav-menus	metaboxhidden_page	metaboxhidden_post	middle_names	nav_menu_recently_edited	nickname	picture	profile_picture	profile_picture_url	relationship	rich_editing	role	screen_layout_family_members	screen_layout_page	search-filter-show-welcome-notice	session_tokens	show_admin_bar_front	show_welcome_panel	source_user_id	submitted::	submitted::014587b	submitted::2fdcce6	submitted::3b96483e	submitted::4011694	submitted::5c50a55	submitted::7b745f28	submitted::acf-form	submitted::cfadbc5	submitted::field609af7309fdad	submitted::field_609af7309fdad	submitted::field_64d7357da7f8e	submitted::form6357a419536e8	submitted::form64da579d03ad1	submitted::form_6357a419536e8	submitted::form_64d61c081d99d	submitted::form_64da579d03ad1	syntax_highlighting	test_text	tlwp_feedback_do_not_ask_again	tlwp_feedback_do_not_ask_again_time	use_ssl	user_nicename	user_pass	user_registered	user_url	users_per_page	wpda-user-dashboard-widgets	wpda_manage_columnshidden_toplevel_page_wpdainformation_schema_tables	wpda_manage_columnshidden_toplevel_page_wpdajpe_posts	wpda_manage_columnshidden_wp-data-access_page_wpda_designerjpe_wpda_table_design	wpda_rows_per_page_db37shmagxd039jpe_postmeta	wpda_rows_per_page_db37shmagxd039wpstg0_usermeta	wpda_rows_per_page_information_schema_tables	wpda_rows_per_page_jpe_posts	wppb_elementor_styling_notice_dismiss_notification	wppb_migrated_free_add_ons_dismiss_notification	wppb_pms_cross_promo_dismiss_notification
    Thread Starter pzh20

    (@pzh20)

    Actually, with or without the <php></?> it still shows as text

    Thread Starter pzh20

    (@pzh20)

Viewing 15 replies - 46 through 60 (of 201 total)