Skip to Content Skip to Menu

[SOLVED] create 2 for user editable fields in a row

  • crauley
  • crauley
  • OFFLINE
  • Posts: 26
  • Thanks: 2
  • Karma: 0
9 years 6 months ago - 9 years 6 months ago #276962 by crauley
Hi

I'm looking for a way for several days to display 2 fields in a row that are also editable.

I saw some other topics with same issues but they were not answred or solved.

I need to display some textfields and integer fields in just one row with one label or title.

Like following example:

Adress: field1(editable textfield) / field2(editable integerfield)

So user can enter the street name and number 2 in various fields, both of which are in only one row...

How is that possible
Last edit: 9 years 6 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49441
  • Thanks: 8467
  • Karma: 1465
9 years 6 months ago #276973 by krileon
Replied by krileon on topic create 2 for user editable fields in a row
Place the fields one after another on the same tab then use strictly CSS to position them as needed. Example as follows.

Code:
#cbfr_FIELD_ID_1, #cbfr_FIELD_ID_2 { display: inline-block; width: 50%; }

You could use floats, absolute positioning, the above, etc.. all to restyle how the fields appear.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • crauley
  • crauley
  • OFFLINE
  • Posts: 26
  • Thanks: 2
  • Karma: 0
9 years 6 months ago #277019 by crauley
Replied by crauley on topic create 2 for user editable fields in a row
tried to insert your code in css field. But nothing happens. How do I insert this code? Or where? In the CSS field of each editable field? Do I have to custumize your Code?

Like in one field=

cbfr_FIELD_ID_1,
#cbfr_FIELD_ID_2 {
display: inline-block;
width: 50%;
}

Please define your answer. It does not work like that.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49441
  • Thanks: 8467
  • Karma: 1465
9 years 6 months ago - 9 years 6 months ago #277024 by krileon
Replied by krileon on topic create 2 for user editable fields in a row
It's not going to work as is. You need to replace the FIELD_ID_1 and FIELD_ID_2 with your 2 fields IDs. Next you need to add it to your Joomla template CSS file, CB template CSS file, or CB template override CSS file.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 9 years 6 months ago by krileon.
The following user(s) said Thank You: crauley

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

  • crauley
  • crauley
  • OFFLINE
  • Posts: 26
  • Thanks: 2
  • Karma: 0
9 years 6 months ago #277054 by crauley
This Issue is solved.

Thanks a lot to you krileon.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum