VGM inputs – customize

New home Forums Visitor Generated Markers VGM inputs – customize

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #60255
    andrej
    Participant

    Hello!
    Is there possibility to customize fields that user can fill in?
    I would like not to give them possibility to fill everything. And I would like to add URL of store on my own.
    Thank you

    #60264
    AbelC
    Moderator

    Hi There,

    Thank you so much for getting in touch with us.

    Please find my response below:

    1. Would I be correct if I say that you would like to hide certain fields on the VGM form?

    If so, this can be achieved with Custom CSS. Could I kindly ask if you could please confirm the fields your would like to hide?

    I will then be able to provide you with the code needed to achieve this.

    2. Would I be correct if I say that you would like to disable the URL field and add your own URL to the visitor marker?

    If so, this can be achieved with Custom JS.

    Could I kindly ask if you could please provide us with a link to your map page?

    We will then be able to advice further.

    I look forward to hearing back from you.

    Kind Regards,
    Abel

    #60552
    andrej
    Participant

    Sorry I did not write earlier.

    So I would just like to add custom fields for:
    Phone number
    Email address

    Can you please help me with that?
    Thank you

    #60555
    AbelC
    Moderator

    Hi There,

    Thank you so much for getting back to me.

    Could I kindly ask if you could please provide us with a link to your map page?

    We will then be able to prepare the code needed to achieve this.

    I look forward to hearing back from you and assisting you further.

    Kind Regards,
    Abel

    #60557
    andrej
    Participant

    Yes, this is it: https://www.bezlepkac.sk/cestovanie-a-celiakia/

    • This reply was modified 4 months, 4 weeks ago by andrej.
    #60560
    AbelC
    Moderator

    Hi There,

    Thank you for your time on this one, and my sincere apologies for the mistake on my behalf.

    Would I be correct if I say that you would like to add Custom Fields to your VGM form?

    If so, could you please navigate to Maps -> Custom Fields -> Please create your preferred Custom Fields.

    The Custom Fields will then be displayed in the VGM form.

    You will be able to find our documentation on how to create custom fields here -> https://www.wpgmaps.com/custom-fields/

    I hope this helps clarify, and I look forward to hearing back from you.

    Kind Regards,
    Abel

    #60584
    andrej
    Participant

    Thank you, but I can not see and “Save” button.
    Please see my screen: https://prnt.sc/u4cpqo

    #60591
    AbelC
    Moderator

    Hi There,

    Thank you so much for getting in touch with us, and our sincere apologies for the delayed response over the weekend.

    Unfortunately, this is due to a styling issue where the “Save” button displays transparent. Please see the screenshot here -> https://drive.google.com/file/d/11vqwTK8kodoQhi2dgAG7_9tJw_VfH3SI/view?usp=sharing

    We will fix this issue as soon as possible. We do apologize for the inconvenience.

    I hope this helps clarify, and I look forward to hearing back from you.

    Kind Regards,
    Abel

    #60651
    andrej
    Participant

    Thank you, no problem.
    Is there any possibility to make my custom fields look like the otherones by plugin?
    Website
    The first two are my custom fields.

    Thank you

    #60652
    AbelC
    Moderator

    Hi There,

    Thank you for getting back to me.

    Could I kindly ask if you could please clarify what you would like to achieve?

    Would it also perhaps be possible to please provide us with a screenshot of what you would like to achieve?

    I will then be able to advice further.

    I look forward to hearing back from you.

    Kind Regards,
    Abel

    #60653
    andrej
    Participant

    I would like to move first two rows to make it look like the others undre these two rows.
    https://prnt.sc/u7jr7g

    #60667
    AbelC
    Moderator

    Hi There,

    Thank you so much for your time on this one, and our sincere apologies for the delayed response over the weekend.

    Could I kindly ask if you could please navigate to Maps -> Settings -> Advanced -> Custom CSS -> Please paste the following below:

    [data-custom-field-id="1"] label,
    [data-custom-field-id="2"] label{
      display: none;
    }

    Could you also please scroll down to “Custom JS”, and please add the following Custom JS below:

    jQuery(function($){
    	var customFieldTel = jQuery('body').find('[data-custom-field-id="1"]');
    var customFieldEmail= jQuery('body').find('[data-custom-field-id="2"]');
    var titleTableRow = jQuery('tr.wpgmza-title');
    customFieldTel.wrap('<tr class="wpgmza-tel-row"></tr>');
    customFieldTel.wrap('<td></td>');
    customFieldEmail.wrap('<tr class="wpgmza-email-row"></tr>');
    customFieldEmail.wrap('<td></td>');
    var rowTel = jQuery('body').find('.wpgmza-tel-row');
    var rowEmail = jQuery('body').find('.wpgmza-email-row');
    rowTel.prepend('<td valign="top">Telefónne číslo</td>');
    rowEmail.prepend('<td valign="top">E-mail</td>');
    rowEmail.insertAfter(titleTableRow);
    rowTel.insertAfter(titleTableRow);
    });

    Please do let me know if you are happy with the changes made so far?

    I look forward to hearing back from you.

    Kind Regards,
    Abel

    #60676
    andrej
    Participant

    HEllo!
    It works like a magic!
    Thank you.

    However I have another issue, I can not see my marks on map. It disappeared on front end.
    But I can see them in administration.

    #60679
    AbelC
    Moderator
    This reply has been marked as private.
Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.