First of all, excellent module!

I'd like to request and option to define that the form element be right aligned, right now if I want to have my form elements flush with the right edge of the content region I am only able to drag them as far right as the Arrange Fields edit area will allow, which only comes up to about the center of my content region.

If there were an option to define that the right edge of the Arrange Fields editor area will be flush with the right edge of the containing region that would be great for RTL languages like Hebrew and Arabic

Thank you for your consideration, and thank you very much for the great module.

Comments

richardp’s picture

Thanks for the compliment ;)

I think you have a great idea. Right now, the system is based around storing the "top" and "left" CSS values for elements. For example,when you drag an element around, it snaps the top-left corner to a 10x10 grid. I think it would be easy enough to make the top-right corner be the one that snaps instead. Also, I suppose there would need to be an option to make the label appear to the right instead of the left-- though, I wonder if there is already a module that does this.

Since this would constitute a change to the javascript, it would probably need to be that the entire form is specified as RTL, not just an element at a time.

I will give this one some thought, and post back here if I make any advancements in that direction.

Thanks,
Richard

roylazarovich’s picture

Thanks Richard!

Just a quick note to let you know that the label does actually appear correctly on the right side of the field if the active language is an RTL language (Hebrew in my case), so this functionality is already there :)

richardp’s picture

Oh, cool. Those Drupal guys thought of everything ;)

richardp’s picture

Status: Active » Closed (works as designed)

I know this is an ancient issue, but it was still open, so I figured I would close it.

RTL support isn't *exactly* officially supported, but I do have a feature now where the right edge of input fields can be snapped to the grid as well. This may help with RTL sites.

Outside of that functionality, I don't have the time to work on RTL sites, but will accept patches if anyone out there wants to take the initiative.

Richard