1084

Needed form helper for url

Comments for “Needed form helper for url”
 

Posted by frocco on Saturday 23rd April 2022 at 21:19 GMT

Hello,

I had to add
function form_url($name, $value = NULL, $attributes = NULL, $additional_code = NULL)
{
$html = form_input($name, $value, $attributes, $additional_code);
$html = str_replace('type="text"', 'type="url"', $html);
return $html;
}

to the form_helper as I needed to verify the url.

Where do you submit enhancments for trongate?

frocco

User Level: Guest

Date Joined: 7/10/2021

Posted by DaFa on Saturday 23rd April 2022 at 22:11 GMT

Hi Frocco,

You could submit a pull request via Github where I hope you have already stared Trongate.
Founding Member

DaFa

User Level: Founding Member

Date Joined: 30/11/2018

Posted by frocco on Sunday 24th April 2022 at 00:25 GMT

Yes, I have already added a star.
I'm not too good at using github.

frocco

User Level: Guest

Date Joined: 7/10/2021

Posted by DaFa on Sunday 24th April 2022 at 05:00 GMT

That's great, and thank you for staring and contributing Trongate. It will be up to DC to accept your suggestion.

Here is a complete guide on how to create a pull request:
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request
Founding Member

DaFa

User Level: Founding Member

Date Joined: 30/11/2018

Posted by frocco on Sunday 24th April 2022 at 10:18 GMT

Thank you DaFa...

frocco

User Level: Guest

Date Joined: 7/10/2021

×