• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Making a new form

Making a new form 7 years 3 months ago #37745

Hello Everyone,

I am extreemly new to RMSForms and I just had a couple of questions. I i want to create a general, app-like settings form, is there any format (responsive, bootstrap, etc) that you would recommend (given that I would also like to add a pay-pal option?)

Also apart from setting up the form, do I have to do anything else to connect it to my joomla database or is automatically taken care of?

Thank you very much
The administrator has disabled public write access.

Making a new form 7 years 3 months ago #37754

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 246
  • Thank you received: 64
personaly I tend to use uukit with some custom css.
database stuff is automatic
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
The administrator has disabled public write access.

Making a new form 7 years 3 months ago #37768

Thanks for your response man,

The reason i was asking is that i want to make some forms that will hold different values for every user, and will be saved after they are submitted.

However, when I click submit on my form, I do not see any record of the submission on the server (phpmyadmin) under the particular user i am looking at (I see a record though in the RSForm in joomla). I do not also see the values beeing saved for that user (for example: if the user updates a field from two to three, when i refresh the page the current value in that field is not three).

So I do have to change anything to make a submission unique to each user and if so where can i see those on my server?

Thanks again man I appreciate it.
The administrator has disabled public write access.

Making a new form 7 years 3 months ago #37770

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 246
  • Thank you received: 64
I can see what you want to do. Gonna need some custom coding to achieve I imagine, beyond my abilities at present. Did find this though, don't know wether it'll give you a strait

www.rsjoomla.com/forum/37-rsform-pro/261...-form-with-data.html
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
The administrator has disabled public write access.

Making a new form 7 years 3 months ago #37781

  • RPPEO
  • RPPEO's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 68
  • Thank you received: 6
You can do this with some PHP scripting. I've got a timesheet form. I also use RSEvents and the RSEvents Plugin for RSForm. When the user is logged in their user details are captured automatically, to make life easier we pull contact info from joomla Contacts.

$user = JFactory::getUser();
$userId= $user->get("id");
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('*')
->from($db->quoteName('#__contact_details'))
->where($db->quoteName('user_id') . ' = '. $db->quote($userId));
$db->setQuery($query);
$my_value = $db-> loadRow ();
$formLayout=str_replace("name_5959188",$my_value, $formLayout );
$formLayout=str_replace("email_5959188",$my_value, $formLayout );
$formLayout=str_replace("address_5959188",$my_value, $formLayout );
$formLayout=str_replace("homephone_5959188",$my_value, $formLayout );
$formLayout=str_replace("city_5959188",$my_value, $formLayout );
$formLayout=str_replace("province_5959188",$my_value, $formLayout );
$formLayout=str_replace("postalcode_5959188",$my_value, $formLayout );
$formLayout=str_replace("cellphone_5959188",$my_value, $formLayout );

Our developer came up with this not me, so I'm not the one to ask about modifying.
We use contacts vs the Joomla Profile so the user can have the information reflect their personal email address, phone number, etc rather than their work info.

RSForm is very powerful. We have a few that submit the info to Jira, where a case is created so we can track it.

Cheers.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!