Platform URL Link within Sign Up Process

I have been searching and I cannot find a topic for what I am looking to do.

I need a way of presenting a URL link from the platform (my website) from within their sign up process when adding a listing.

I see I can’t hyperlink the description. What would be my options please?

Thank you so much

Hi,

Please provide more details, do you need to add a link in the listing description of the submit form? Or in the user registration form?

I apologise.

It is is to be in the user registration form.
I have tried it this way since:

I have added an attribute as what I have realised that I just need to tick ‘allow front end editing’ but not put anything in areas of display. So much like how the Booking Export URL is only displayed in the form.

What I would like to do if possible though is utilise < a href=“%value%”>Text - maybe even the button code and open in a new window.

Is that possible?

As I tried both above code and button code in format box and it didn’t do anything.

The long ugly ‘unclickable’ or ‘un-copyable’ link is just being displayed as placeholder text currently.

I think this is the way. Is this what you would suggest?

add_filter('hivepress/v1/forms/vendor_submit', function($form) {
    // Add a custom button to the vendor submit form
    $form['fields']['custom_button'] = [
        'type' => 'button',
        'caption' => 'Learn More',
        'attributes' => [
            'onclick' => "window.location.href='https://example.com';",
            'class' => 'my-custom-button'
        ]
    ];

    return $form;
});

Hi,

Unfortunately, I don’t quite understand what functionality you need to add. Perhaps you want to add a custom button with your own URL at the top of the user register form? If not, please describe the expected result and what functionality you need in more detail.

Im sorry if I am not explaining myself correctly.

Yes a custom button from within the form. I think I found my solution to adding it as this code above does create such button. It is at the top of the form.

  1. Can I move it at all, like further down within the form and if so how?

  2. Also how do I get these buttons within the form a colour of my choice please instead of grey. And the message bubble, the category bubble tags, attribute icons on the listings etc please?

Here are the form areas and listing areas, regarding the second part of my question reagrding styling:

https://tinyurl.com/225gpwy3

https://tinyurl.com/25tatnkx

Hi,

  1. If you are referring to the button from your screenshot, unfortunately, this is not possible, as each button is related to its own field and is built-in. If you mean to add some custom button with a custom link at the top of the form, you can do it using a custom one.

  2. This is only possible using CSS customization, because the colors in customize are applied only to the primary and secondary buttons, and these are the default.

How can I move this custom button with a custom link further down the form instead of at the top?

Hi,

This will require customization. You can check out a sample at this link: https://gist.github.com/search?q=user%3Ahivepress+order&ref=searchresults