Two custom fields on the same line
Author | Posts |
---|---|
June 6, 2014 at 7:16 pm 21513 | |
Sekander Badsha | Is it possible to place the submitted content of two (or more) custom fields on the same line? So, for example, Field A "Date_of_Birth" and Field B "Country_of_Birth" can be displayed on the posted page as a single line: Born 12/11/1966 in Australia. |
June 9, 2014 at 6:34 pm 21645 | |
John | Any comment? |
June 10, 2014 at 4:15 pm 21709 | |
Sk | Hello John, sorry for late response. thank you. |
July 7, 2014 at 1:36 am 23072 | |
John | Sorry for my even later reply… I’m a bit stumped – when I put my class into the field it shows up in the form but not in the submitted post. |
July 8, 2014 at 4:41 pm 23191 | |
Sk | Hello John, The front end view of data depends on the theme you using. If you want to change the style please hire a developer. Thank you |
July 12, 2014 at 5:43 pm 23381 | |
John |
This topic is marked Resolved, but I don’t think this is correct. Editting the style sheet of my theme would only work if Frontend User lets me apply unique classes to the submitted fields in the front end view. All fields are |
July 12, 2014 at 10:36 pm 23401 | |
Sekander Badsha | Hello John, |
July 16, 2014 at 1:44 am 23628 | |
John | Thank you for the suggestion. I tried: Unfortunately this doesn’t work because I don’t know in advance how many fields will be submitted by the form. Some fields are not required and more than one image field can be submitted, for example. |
July 17, 2014 at 12:30 pm 23695 | |
Sekander Badsha | Make the form first and then apply the CSS. In that way it should work. |
July 17, 2014 at 7:04 pm 23726 | |
John | I’m sorry, I don’t understand. I did make the form first but I can’t see how to apply CSS to the content of the submitted fields because they don’t have unique classes and the :nth-child pseudo-class approach requires that I know how many fields will actually be submitted. This, as I said, will vary from one post to the next. |
July 20, 2014 at 7:56 pm 23811 | |
Sekander Badsha | A developer would understand your requirements and would make the feature available for you. Please hire a developer. |
July 22, 2014 at 3:58 am 23904 | |
John | I don’t believe it is possible for a developer to do this without rewriting code in wpuf-functions.php. By adding classes to wpuf-functions.php, such as In my view this issue is not resolved because it’s a limitation inherent to Frontend Pro and should be addressed in a future release. |
July 22, 2014 at 2:09 pm 23944 | |
Sekander Badsha | Why you’d need to edit the wpuf-functions.php file ? we have given you fields to insert css classes in the form input fields. You can write whatever class you want to apply. |
July 22, 2014 at 2:24 pm 23945 | |
Mahi | Hello John, Sorry for inconvenience. Please follow these steps: 1. When you create your form there is an option to insert every field’s class name image: Insert different class names as necessary. 2. Now open your theme style.css file and apply css accordingly. you have to know css very well. example: http://jsfiddle.net/VQrYD/1/ |
July 23, 2014 at 1:19 am 23989 | |
John | I’m afraid this thread has gone full circle and you’ve given me the same answer Sk_Shaikat gave me at the start to a question I didn’t ask. I am not trying to style the fields in the form. I can see that is easy. Because these are all generated by the same bit of code in wpuf-functions.php, every submitted text field has the same class, so they cannot be individually styled. |
July 27, 2014 at 5:22 pm 24190 | |
Sekander Badsha | Hi John, |