Query about changing the ProForms "Select" basic question type?
Permalink
Can anyone please tell me how I can change the default word " ** NONE" seen at the top of the dropdown select menu when closed, to the word "Choose" (see attached screenshot) on the "Select" question type in ProForms by Radiant Web?
Could you also tell me which file to find the code in that needs changing please?
Website page is:http://devon-lodge-holidays.com/lodges/check-availability/low-seaso...
Thanks
Could you also tell me which file to find the code in that needs changing please?
Website page is:http://devon-lodge-holidays.com/lodges/check-availability/low-seaso...
Thanks
Hi Nour, thank you for your help, it's much appreciated.
I changed the form.php suggested, line 127 from "none" to "choose" as follows (please see below), but nothing changed on the website. Have a missed something????
FROM:
TO:
I changed the form.php suggested, line 127 from "none" to "choose" as follows (please see below), but nothing changed on the website. Have a missed something????
FROM:
TO:
There can be different reasons why it didn't work:
1- the cache needs emptying to see the change
2- the attribute was overridden somewhere and you need to modify the override
3- your select fields are not the Select Values field type but the Price Select field type or another type of select field type. Proform has many of those
1- the cache needs emptying to see the change
2- the attribute was overridden somewhere and you need to modify the override
3- your select fields are not the Select Values field type but the Price Select field type or another type of select field type. Proform has many of those
Thanks Nour, but tbh I'm at a loss to know what's overriding this and looked through every single file in the package.
However, I think I have found a compromise. If I use the price select and just put the amount value at £"0" it has the effect of at least not having the word "None" as the first choice on the dropdown and then user can't skip it so easily and move on to the next question.
It's not an ideal solution, but as I can't seem to be able to resolve this, it will have to do.
Thanks again bud for your help, I really appreciate your input and your time.
However, I think I have found a compromise. If I use the price select and just put the amount value at £"0" it has the effect of at least not having the word "None" as the first choice on the dropdown and then user can't skip it so easily and move on to the next question.
It's not an ideal solution, but as I can't seem to be able to resolve this, it will have to do.
Thanks again bud for your help, I really appreciate your input and your time.
To check if a file is overridden you need to chak at the root of your site. So in your case you need to go to
root\models\attribute\types\select_values and look for the file form.php (or price_select instead of select_values if it's the other)
If you find a file there then the original is overridden and you need to modify the override.
root\models\attribute\types\select_values and look for the file form.php (or price_select instead of select_values if it's the other)
If you find a file there then the original is overridden and you need to modify the override.
But know that if you change it directly, you will lose your modification next time you update proform.
You have to override the attribute instead