Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Forms - Remove select button for fields with "url|link" in name

edited September 2016 in Modules
Hi,

Every field with "url|link" automatically has a select button on the right side of the input field. I have a field named "carousel_link", how can I remove the select button automatically being generated?

The select button shows a modal wherein you can select pages. I want to remove this button, what should i do?

Of course if I rename the field (to carousel_landing_page) it will be removed. But I want to retain the name "carousel_link" for my database, so I'm looking for other options.

Comments

  • edited 12:31PM
    Add the parameter "ignore_representative" => TRUE to your field. Form_builder is setup to automatically use the URL field type with any field that has the name of url or link.
  • edited 12:31PM
    It works! Even with fields having "image" in their names. Thanks!
Sign In or Register to comment.