Is it Possible to align fields and text areas in the form in a database?

Is it Possible to align fields and text areas in the form in a database?

by Mohammed Shamshad -
Number of replies: 4
Hi all,

Can anybody help me to find out how to align fields and text area in forms in the moodle database with Buttons as shown belowclown?

Regards,
Mohammed Shamshad
Attachment untitled.jpg
Average of ratings: -
In reply to Mohammed Shamshad

Re: Is it Possible to align fields and text areas in the form in a database?

by Itamar Tzadok -
You can use a table...

Type
Type
Employees
Employees
Industry
Industry
Annual Revenue
AnnualRev
Description description



etc. and set the border to 0.

Itamar smile
In reply to Itamar Tzadok

Re: Is it Possible to align fields and text areas in the form in a database?

by Mohammed Shamshad -
Hi Itamar,

Thank you for the reply.But where do i add this table and how do i set the table to 0 ?I had created a table and i could see an option to save the template but after saving it it doesn't reflect on the add an entry form.Can you help me!

Regards,smile
Mohammed Shamshad.

In reply to Mohammed Shamshad

Re: Is it Possible to align fields and text areas in the form in a database?

by Itamar Tzadok -
Hi Mohammed,

When you edit the Add Template form you have HTML editor and you can create a table by clicking insert_table.gif.

Perhaps a simpler way would be to create the table in Word and then copy&paste it into the HTML editor of the Add Template form.

Once you have the table, if the borders are visible you can edit the template and in HTML mode (ed_html.gif) look for the table tag "<table..." and then the border property in that tag and set it to 0.

I hope that helps. smile

Itamar
In reply to Itamar Tzadok

Re: Is it Possible to align fields and text areas in the form in a database?

by Mohammed Shamshad -
Hi Itamar,

Thank you very much for your help.It is really worked and it is great.I appreciate it.big grin

Regards,
Mohammed Shamshad