Navigation überspringen

[Gelöst] Cannot add url record

This support ticket is created vor 1 Monat. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 3 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Minesh vor 1 Monat.

Assistiert von: Minesh.

Author
Artikel
#2802622
Screenshot 2025-03-27 at 10.45.17 PM.png

Dear Sir/Madam,

I want to add below url to a custom field

<em><u>versteckter Link</u></em>

but I got error

Field "Nutrilite Product URL" not updated: Please enter a valid URL address.

Attached please find the custom field setting

#2802793

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - the URL you want to save does not standard URL format that is why its not saving the URL.

You should try to uncheck the validation URL format and that should allow you to save the URL.

#2803047

Dear Minesh,

Yes, your suggestion can by pass the validation but how can I ensure the end user not to place any URL, for example missing the https://

Best regards,

Kelvin.

#2803642

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Do you mean you want to validate the field and check if the field value is starts with versteckter Link? if yes:
=> There is no such feature available, you can write your own method and code to validate the URL field as per your requirement.

Here are few links that might help you:
- https://wordpress.stackexchange.com/questions/5102/add-validation-and-error-handling-when-saving-custom-fields
- https://wordpress.stackexchange.com/questions/356609/how-to-validate-custom-fields-for-a-custom-post-type-before-insert

If you need further assistance with any of your custom requirement, you are always welcome to contact any of our certified partners:
=> https://toolset.com/contractors/