• Resolved hakerdesign

    (@hakerdesign)


    Hi
    first of all must say the your plugin is great
    making acf amazing

    i have a few questions/probelms which i can solve
    my front end form shortcode is place in every post in sinklge template
    it has an action of update
    it s has some text fields, gallery,color picker
    when going into a post the from will show it self only for the author
    my questons are:
    1- is theres a way to make front end form like a live editor when i change the color picker value it changes the title color likve 9like you have in css here’ or elmentor)
    no need to press update

    2- right now whe n im in the post page which as the from shortcode it doenst load all values of the fileds only a few of them, when im in backned i can see all fields input
    but on the from not
    do i need to add somthing like a hook the map all fiels
    the Load Values is set to current post with mapping enables

    hope i made my self clear
    thanks in advanced

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello!

    I’m glad you enjoy ACF Extended ?? Regarding your questions:

    1/ Well this would involve some hard work, what you ask for looks like the native WP customizer feature but for front-end users. I cannot give you a perfect code as it would vary depending on your theme and style.

    There is a feature request which is bit related tho, being able to edit ACF fields in the front-end via a side panel. This is something that is doable, but it will be available for logged users in the WP-Admin section at first. The feature request is here: https://trello.com/c/rB10gThS/16-acf-front-end-fields-edition

    2/ Can you send me some screenshots of your form configuration, specifically the “Update” action with tabs etc…?

    There is probably a problem with the “load value” setting & fields mapping data.

    Thanks in advance.

    Regards.

    Thread Starter hakerdesign

    (@hakerdesign)

    Hi
    Thanks for replaying
    Regarding number one
    I wrote acf support and this is what they wrote me:

    —————-
    You will need to manipulate fields on the client-side using javascript.

    We have the ACF javascript API which makes it easy to attach an event to a field of your choice.

    For example:
    // get the field instance
    var field = acf.getField(‘your_field_id’);

    // add an event OnChange
    field.on(‘onChange’, ‘.wp-color-picker’, function( e ){
    //Use field value to change the color of title
    });

    https://www.advancedcustomfields.com/resources/javascript-api/#acf.field
    —————————
    What you wrote regarding a side panel ‘ this is actualy what im doing right now
    I added a side panel with front form shortcode/paenl is accsiable only to author of the post
    The panel is attached to single post type template
    And actually it works good
    I wish it could act like a live editor

    You think that it can be done with what acf support wrote me?

    Regarding 2
    I discovered what went wrong when fields are wrapped in groups

    on front end they wont load the values
    when i remove them from group they get values

    ive noticed that my reapator fileds dont load values
    do you know maybe if its a bug or ami doing somthing wrongs

    thanks a lot

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    1/ Yes, the code they gave you is correct. You can definitely work this out. It will require to dive in Javascript tho.

    2/ I need to see some screenshots to understand what’s going on.

    Maybe you can join us on Slack so we can discuss it (here is an invitation link).

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Any news about the screenshots for the form field mapping?

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    I suppose the problem has been resolved. I’m closing the ticket.

    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘front end from’ is closed to new replies.