× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

placeholder in input fields

More
5 years 8 months ago #4871 by megat
placeholder in input fields was created by megat
Firstly,

Thanks for the great piece of wonderful component, which has almost infinite potential capabilities

I would like to know mote about Group Select -
{joodb groupselect|FIELD|[size]}

How can i put some Placeholder text inside the filter so that it will not showing the unfriendly ... 3 dots on the select filter field?

I do tried some such, but no luck yet - {joodb groupselect|FIELD|[<placeholder="Select Option">]}

1.) What is the proper way to do that? How to set the width?

2.) Can i have drop down menu in the submit form? Can i have group select to replace them?

3.) Can i have bootstrap table class in my catalog table view? My template do have bootstrap. Not working so far

Please Log in to join the conversation.

More
5 years 8 months ago - 5 years 8 months ago #4876 by Dirk
Replied by Dirk on topic placeholder in input fields

megat wrote: How can i put some Placeholder text inside the filter so that it will not showing the unfriendly ... 3 dots on the select filter field?


Will be changed to a Language value in the next version. So you can use the Languag override.

Meanwhile you could insert a Javascript tag at the end of your catalog template.
jQuery("select.groupselect option:first").html("WHATEVER");

megat wrote: 1.) What is the proper way to do that? How to set the width?


In /media/com_joodb/css/joodb.css you can change the css for joodb.
#joodbForm input.inputbox, #joodbForm  select.inputbox, #joodbForm  textarea.inputbox {
    border: 1px solid #A9A9A9;
    background-color: #fff;
    box-shadow: inset 4px 4px 10px 0 #E5E5E5;
    border-radius: 3px;
    padding: 4px 6px;
    line-height: 1.46em;
    height: auto;
}

Don't change /media/com_joodb/css/joodb.css directly otherwise it will be over ridden.
Copy /media/com_joodb/css/joodb.css to /templates/YOUR_TEMPLATE/css/joodb.css

megat wrote: 2.) Can i have drop down menu in the submit form? Can i have group select to replace them?


With javascript and CSS. Google for jQuery select dropdown
E.G. select2.org/dropdown

megat wrote: 3.) Can i have bootstrap table class in my catalog table view? My template do have bootstrap. Not working so far


Look at /media/com_joodb/css/joodb.css it may overrride the bootstrap css

Many of your Questions are not Joodb related!
Last edit: 5 years 8 months ago by Dirk.
The following user(s) said Thank You: megat

Please Log in to join the conversation.

More
5 years 8 months ago #4878 by megat
Replied by megat on topic placeholder in input fields
Thank you so much for your valuable inputs

I'll be more careful next time, I do apologize for that

Have a good weekend

Regards

Please Log in to join the conversation.

More
5 years 7 months ago #4881 by megat
Replied by megat on topic placeholder in input fields

megat wrote: 2.) Can i have drop down menu in the submit form? Can i have group select to replace them?


With javascript and CSS. Google for jQuery select dropdown
E.G. select2.org/dropdown
Just a quick check, i just need a simple dropdown menu like this sample, the group-select doesn't work here

Refer to the select list of Useful, we have option of Yes / No

This image is hidden for guests.
Please log in or register to see it.



Name
Position - Executive / Senior Executive / Manager / Director
Department - Finance / Legal / Logistic

How can i have the fields of Position and Department to have a set of options where when user choose it will submitted to the database just like normal other form text fields

I just need the code sample, something like this if i'm not mistaken

<select>
<option value="Executive">Executive</option>
<option value="Senior Executive">Senior Executive</option>
<option value="Manager">Manager</option>
<option value="Director">Director</option>
</select>

Please help, thanks!

Please Log in to join the conversation.

More
5 years 7 months ago #4897 by megat
Replied by megat on topic placeholder in input fields
Contributing to a good component community here

The built in form works well, but it was too simple, at least for my project requirements

So, I'm using another form component that can directly update our pre-built database fields

Please try the Form Maker component from Web Dorado, even the free version is powerful enough for most tasks

Just using their simple MYSQL Mapping features, select the insert type and simply choose your table and assign your fields, click on generate query and hit save button. from now on, every new submission will be added to the database table

Hope this can helps someone out there :)

Please Log in to join the conversation.

Moderators: Dirkjoest