Forum

[SOLVED] How to put...
 
Notifications
Retirer tout

[SOLVED] How to put a button on the same line as the previous field

3 Posts
2 Utilisateurs
0 Reactions
1,402 Vu
Louis Heredero
(@baryhobal)
Posts: 49
Active Member
Début du sujet
 
[#7347]

Hello,I've added a new quantity field for Assets that can be modified and saved. After some searching in the scripts and on the forum, I've managed to add two buttons to add or remove 1 from the field.
However, I can't seem to be able to put it on the same line as the quantity field, which is quite ugly. I've tried using the "same line" option of the screenCustomization plugin with no luck.
How can I do that, if it is possible ? I tried to look at how the button was made for tickets but it hasn't given many much information.


 
Posté : 26 Fév PM 19:022
(@babynus)
Posts: 14952
Membre Admin
 

I don't think using screen customization allows to create buttons.
What you expect is the "on same line" attribute, it must be placed on the first item, as it is "next on same line".
But to have "buttons", except for specifc items, I don't know how you managed.


 
Posté : 27 Fév PM 19:022
Louis Heredero
(@baryhobal)
Posts: 49
Active Member
Début du sujet
 

Ok I've managed to do it. My problem was that I had the field set as "_spe_minus" instead of "_button_minus"


 
Posté : 27 Fév PM 19:022
Share:
Retour en haut