Header for sql custom field

  • reilldesign
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week ago #169163 by reilldesign
Header for sql custom field was created by reilldesign
Ffor a plan i successfully use a sql custom field which creates a dropdown.

docs.joomdonation.com/membershippro/basi...m-fields/field-types

Currently, the first value is always selected automatically. How can I insert a placeholder here?
For the Joomla sql form field this is e.g.header="Please select your option"

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #169164 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Header for sql custom field
Hello

I just implemented support for it. You can download latest package from My Downloads section, upgrade to your site

Now, when you add/edit an SQL field, you can set the text you want into Prompt Text setting of the field and it will be used as the first/default option

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • reilldesign
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week ago #169165 by reilldesign
Replied by reilldesign on topic Header for sql custom field
Thank you very much for your quick reply. I have just downloaded the new version from "My Downloads", but cannot see the Prompt Text field. Will this header also work with the setting required like in the standard dropdown list?

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #169166 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Header for sql custom field
That's strange. It should work with both SQL and List custom field types. You can submit a support ticket so that I can check to see what the field is not being displayed as expected

Tuan

Please Log in or Create an account to join the conversation.

  • reilldesign
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 1 week ago #169167 by reilldesign
Replied by reilldesign on topic Header for sql custom field
For custom fields of type list it is working and there is a promt text input field. But not fpr custom fields of type sql. There is no prompt text input field.

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #169168 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Header for sql custom field
That's strange. Could you please submit a support ticket so that I can check it directly on your site?

Regards,

Tuan

Please Log in or Create an account to join the conversation.